]> 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)
commit9237f202d4b9b3c39f1e76ccf21fc686e8e0f40a
tree2ae15d07c7ae9cf7e03e62eae706a5abb51e6a67
parent85af5a454ed09efd1d037a13ed71f132efe4b4dd
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