Return-path: Received: from mga11.intel.com ([192.55.52.93]:10544 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755156Ab3KEOZe (ORCPT ); Tue, 5 Nov 2013 09:25:34 -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 14:25:31 +0000 Message-ID: <1383661489.579.39.camel@porter.coelho.fi> (sfid-20131105_152541_962684_7CFA3BB7) References: <1383569955-13236-1-git-send-email-luciano.coelho@intel.com> <201311041531.56693.sw@simonwunderlich.de> <1383640077.579.14.camel@porter.coelho.fi> <201311051436.13222.sw@simonwunderlich.de> In-Reply-To: <201311051436.13222.sw@simonwunderlich.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDEzLTExLTA1IGF0IDE0OjM2ICswMTAwLCBTaW1vbiBXdW5kZXJsaWNoIHdyb3Rl Og0KPiA+IE9uIE1vbiwgMjAxMy0xMS0wNCBhdCAxNTozMSArMDEwMCwgU2ltb24gV3VuZGVybGlj aCB3cm90ZToNCj4gPiA+ID4gPiBUaGFua3MgZm9yIGNoZWNraW5nIGJhY2sgLSBJJ3ZlIHJlYWQg dGhlIHBhcnQgaW4gdGhlIHNwZWMgYWdhaW4gWzFdLA0KPiA+ID4gPiA+IGFuZCBhcHBlYXJlbnRs eSB5b3UgYXJlIHJpZ2h0Lg0KPiA+ID4gPiA+IA0KPiA+ID4gPiA+IFdpdGggeW91ciBwcm9wb3Nl ZCBjaGFuZ2UsIHNob3VsZG4ndCB3ZSBhbHNvIGNoYW5nZSB0aGUgYmVoYXZpb3VyIGlmDQo+ID4g PiA+ID4gdGhlIHVzZXJzcGFjZSByZXF1ZXN0cyBhIGNoYW5uZWwgc3dpdGNoIHdpdGggY291bnQg PSAwPyBJIGd1ZX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