Return-path: Received: from mga01.intel.com ([192.55.52.88]:57264 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072Ab3KEI2m (ORCPT ); Tue, 5 Nov 2013 03:28:42 -0500 From: "Coelho, Luciano" To: Simon Wunderlich CC: "linux-wireless@vger.kernel.org" , "johannes@sipsolutions.net" Subject: Re: [RFC] mac80211: don't transmit beacon with CSA count 0 Date: Tue, 5 Nov 2013 08:28:39 +0000 Message-ID: <1383640077.579.14.camel@porter.coelho.fi> (sfid-20131105_092845_777487_0753A10A) References: <1383569955-13236-1-git-send-email-luciano.coelho@intel.com> <201311041436.51673.sw@simonwunderlich.de> <1383574023.5928.149.camel@porter.coelho.fi> <201311041531.56693.sw@simonwunderlich.de> In-Reply-To: <201311041531.56693.sw@simonwunderlich.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gTW9uLCAyMDEzLTExLTA0IGF0IDE1OjMxICswMTAwLCBTaW1vbiBXdW5kZXJsaWNoIHdyb3Rl Og0KPiA+ID4gVGhhbmtzIGZvciBjaGVja2luZyBiYWNrIC0gSSd2ZSByZWFkIHRoZSBwYXJ0IGlu IHRoZSBzcGVjIGFnYWluIFsxXSwgYW5kDQo+ID4gPiBhcHBlYXJlbnRseSB5b3UgYXJlIHJpZ2h0 Lg0KPiA+ID4gDQo+ID4gPiBXaXRoIHlvdXIgcHJvcG9zZWQgY2hhbmdlLCBzaG91bGRuJ3Qgd2Ug YWxzbyBjaGFuZ2UgdGhlIGJlaGF2aW91ciBpZiB0aGUNCj4gPiA+IHVzZXJzcGFjZSByZXF1ZXN0 cyBhIGNoYW5uZWwgc3dpdGNoIHdpdGggY291bnQgPSAwPyBJIGd1ZXNzIHdlIHNob3VsZA0KPiA+ ID4gaW1tZWRpYXRlbHkgY2hhbmdlIHRoZSBjaGFubmVsIHRoZW4gd2l0aG91dCB3YWl0aW5nIGZv ciBiZWFjb25zPyBJ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