Return-path: Received: from mga09.intel.com ([134.134.136.24]:43838 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877Ab3LETBb (ORCPT ); Thu, 5 Dec 2013 14:01:31 -0500 From: "Coelho, Luciano" To: Johannes Berg CC: "linux-wireless@vger.kernel.org" , "sw@simonwunderlich.de" , "yeohchunyeow@gmail.com" , "yeohchunyeow@cozybit.com" , "Otcheretianski, Andrei" Subject: Re: [PATCH v8 4/5] mac80211: align ieee80211_mesh_csa_beacon() with ieee80211_csa_beacon() Date: Thu, 5 Dec 2013 19:01:25 +0000 Message-ID: <1386270085.3878.24.camel@porter.coelho.fi> (sfid-20131205_200135_202288_30C297BE) References: <1386257143-29840-1-git-send-email-luciano.coelho@intel.com> <1386257143-29840-5-git-send-email-luciano.coelho@intel.com> (sfid-20131205_162554_500402_7BA9FCA3) <1386259467.4182.13.camel@jlt4.sipsolutions.net> <1386269585.3878.21.camel@porter.coelho.fi> <1386269631.4182.22.camel@jlt4.sipsolutions.net> In-Reply-To: <1386269631.4182.22.camel@jlt4.sipsolutions.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEzLTEyLTA1IGF0IDE5OjUzICswMTAwLCBKb2hhbm5lcyBCZXJnIHdyb3RlOg0K PiBPbiBUaHUsIDIwMTMtMTItMDUgYXQgMTg6NTMgKzAwMDAsIENvZWxobywgTHVjaWFubyB3cm90 ZToNCj4gPiBPbiBUaHUsIDIwMTMtMTItMDUgYXQgMTc6MDQgKzAxMDAsIEpvaGFubmVzIEJlcmcg d3JvdGU6DQo+ID4gPiBPbiBUaHUsIDIwMTMtMTItMDUgYXQgMTc6MjUgKzAyMDAsIEx1Y2lhbm8g Q29lbGhvIHdyb3RlOg0KPiA+ID4gPiBUaGUgcmV0dXJuIHZhbHVlIG9mIGllZWU4MDIxMV9tZXNo X2NzYV9iZWFjb24gaXMgbm90IGFsaWduZ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