Return-path: Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:36242 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751308AbaGOEHC (ORCPT ); Tue, 15 Jul 2014 00:07:02 -0400 From: Bing Zhao To: Paul Stewart CC: linux-wireless , "John W. Linville" , Amitkumar Karwar , Avinash Patil , Maithili Hinge , Chin-Ran Lo , Xinming Hu Date: Mon, 14 Jul 2014 21:06:53 -0700 Subject: RE: [PATCH 4/7] mwifiex: remove redundant TDLS setup action frame check Message-ID: <477F20668A386D41ADCC57781B1F7043122FCE9301@SC-VEXCH1.marvell.com> (sfid-20140715_060706_525340_902121C3) References: <1405137435-14045-1-git-send-email-bzhao@marvell.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: SGkgUGF1bCwNCg0KVGhhbmtzIGZvciB5b3VyIGNvbW1lbnQuDQoNCj4gPiBAQCAtNzkxLDE5ICs3 OTEsMTUgQEAgdm9pZCBtd2lmaWV4X3Byb2Nlc3NfdGRsc19hY3Rpb25fZnJhbWUoc3RydWN0IG13 aWZpZXhfcHJpdmF0ZSAqcHJpdiwNCj4gPiAgICAgICAgICAgICAgICAgcmV0dXJuOw0KPiA+DQo+ ID4gICAgICAgICBwZWVyID0gYnVmICsgRVRIX0FMRU47DQo+ID4gLSAgICAgICBhY3Rpb24gPSAq KGJ1ZiArIHNpemVvZihzdHJ1Y3QgZXRoaGRyKSArIDIpOw0KPiA+DQo+ID4gLSAgICAgICAvKiBq dXN0IGhhbmRsZSBURExTIHNldHVwIHJlcXVlc3QvcmVzcG9uc2UvY29uZmlybSAqLw0KPiA+IC0g ICAgICAgaWYgKGFjdGlvbiA+IFdMQU5fVERMU19TRVRVUF9DT05GSVJNKQ0KPiBJJ20gZ29pbmcg dG8gYXNzdW1lIHRoYXQgdGhlIGludGVudCBvZiB0aGUgb3JpZ2luYWwgdGVzdCB3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