]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: move RF/CT kill check to command wrapper
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Mar 2012 21:30:40 +0000 (13:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Mar 2012 18:51:49 +0000 (13:51 -0500)
commita8ad19eb1808fa6f68b244838b2f17614e34f135
tree1914738c9506d958b75c3823702b4f77b858e248
parent634f11882f7b569dac6440a3d7190f5c6e899e3e
iwlwifi: move RF/CT kill check to command wrapper

Currently, we cannot send any commands when the
uCode is in RF or CT kill, but that will not be
true for all new uCode versions, so we need to
move the check into the uCode specific code.

Also remove the duplicate rfkill check.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c