iwlwifi: move rfkill status handling out of transport
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Mar 2012 21:30:43 +0000 (13:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Mar 2012 18:51:50 +0000 (13:51 -0500)
commitc9eec95cb429359efd39a3c87fb1544fe2b77bc5
tree2ae15d07c7ae9cf7e03e62eae706a5abb51e6a67
parentb1eea297d6b522b801c95b60b1e64fb61228c6c7
iwlwifi: move rfkill status handling out of transport

The transport layer should only check the
hardware RF kill status, not impose any
policy or reaction based on it, so move
that out of it into the op_mode.

For now keep the restriction on loading
firmware, that will have to be removed
later.

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-core.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c