]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6d12ef275115c57ed0e1a91bfa57dccdee0acdf
tree2ae15d07c7ae9cf7e03e62eae706a5abb51e6a67
parent4f0225c99502f15f2fe00861493cb34d866d5bc3
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