Return-path: Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:23882 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753530AbbFQIIA (ORCPT ); Wed, 17 Jun 2015 04:08:00 -0400 From: David Lin To: Johannes Berg CC: "linux-wireless@vger.kernel.org" , "Pete Hsieh" , Chor Teck Law Subject: RE: [PATCH v2] Add new mac80211 driver mwlwifi. Date: Wed, 17 Jun 2015 08:07:55 +0000 Message-ID: <7e061b3712f4408284917b5a5b4d3813@SC-EXCH02.marvell.com> (sfid-20150617_100823_205462_4F0AF53E) References: <2127ea28a2a74cd6a89d45b88caf06cb@SC-EXCH02.marvell.com> <1434526059.1884.7.camel@sipsolutions.net> In-Reply-To: <1434526059.1884.7.camel@sipsolutions.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: PiBPbiBXZWQsIDIwMTUtMDYtMTcgYXQgMzoyOCBQTSBKb2hhbm5lcyBCZXJnIHdyb3RlOg0KPiAN Cj4gT24gV2VkLCAyMDE1LTA2LTE3IGF0IDA2OjA2ICswMDAwLCBEYXZpZCBMaW4gd3JvdGU6DQo+ IA0KPiAobm90IHJlYWxseSByZWFkaW5nIGFsbCBvZiB0aGlzIHJpZ2h0IG5vdywganVzdCB0d28g c21hbGwgY29tbWVudHMpDQo+IA0KPiA+ICtzdHJ1Y3QgbXdsX3R4X2Rlc2Mgew0KPiA+ICsJdTgg ZGF0YV9yYXRlOw0KPiA+ICsJdTggdHhfcHJpb3JpdHk7DQo+ID4gKwlfX2xlMTYgcW9zX2N0cmw7 DQo+ID4gKwlfX2xlMzIgcGt0X3B0cjsNCj4gPiArCV9fbGUxNiBwa3RfbGVuOw0KPiA+ICsJdTgg ZGVzdF9hZGRyW0VUSF9BTEVOXTsNCj4gPiArCV9fbGUzMiBwcGh5c19uZXh0Ow0KPiA+ICsJX19s ZTMyIHNhcF9wa3RfaW5mbzsNC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