]> 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)
commit0d4823c3e852ef93aeb5491a793c0995645db795
tree1914738c9506d958b75c3823702b4f77b858e248
parentb8e95fad331991ba055aeebfd473420fa46da51d
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