Return-path: Received: from mga09.intel.com ([134.134.136.24]:29803 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbaIKHFI (ORCPT ); Thu, 11 Sep 2014 03:05:08 -0400 From: "Coelho, Luciano" To: "dan.carpenter@oracle.com" CC: "linux-wireless@vger.kernel.org" , "Grumbach, Emmanuel" , "johannes@sipsolutions.net" Subject: Re: iwlwifi: mvm: set the TX disable bit when doing a chanctx switch Date: Thu, 11 Sep 2014 07:04:42 +0000 Message-ID: <1410419081.14130.14.camel@dubbel> (sfid-20140911_090512_855531_71833468) References: <20140909094035.GA10599@mwanda> In-Reply-To: <20140909094035.GA10599@mwanda> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: SGkgRGFuLA0KDQpTb3JyeSBmb3IgdGhlIGxhdGUgcmVwbHkuDQoNCk9uIFR1ZSwgMjAxNC0wOS0w OSBhdCAxMjo0MCArMDMwMCwgRGFuIENhcnBlbnRlciB3cm90ZToNCj4gSGVsbG8gTHVjaWFubyBD b2VsaG8sDQo+IA0KPiBUaGUgcGF0Y2ggMGNlMDRjZTc5N2Y4OiAiaXdsd2lmaTogbXZtOiBzZXQg dGhlIFRYIGRpc2FibGUgYml0IHdoZW4NCj4gZG9pbmcgYSBjaGFuY3R4IHN3aXRjaCIgZnJvbSBN YXkgOCwgMjAxNCwgbGVhZHMgdG8gdGhlIGZvbGxvd2luZw0KPiBzdGF0aWMgY2hlY2tlciB3YXJu aW5nOg0KPiANCj4gCWRyaXZlcnMvbmV0L3dpcmVsZXNzL2l3bHdpZmkvbXZtL21hYzgwMjExLmM6 Mjc2OCBfX2l3bF9tdm1fYXNzaWduX3ZpZl9jaGFuY3R4KCkNCj4gCXdhcm46IG1pc3NpbmcgZXJy b3IgY29kZSBoZXJlPyAnaXdsX212bV9zdGFfZnJvbV9zdGFpZF9wcm90ZWN0ZWQoKScgZmFpbGVk LiAncmV0JyA9ICcw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