diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-03-28 12:33:09 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-24 01:19:19 +0400 |
commit | 226c02ca7fd182b24599d205820e159b0e7bc405 (patch) | |
tree | 4f87ad77824255a48e7b47dd207caefb3e857aae /drivers/net/wireless/iwlwifi | |
parent | 8c46bb703b28ea481c28bc77f2595b32d5dacea9 (diff) | |
download | linux-226c02ca7fd182b24599d205820e159b0e7bc405.tar.xz |
iwlwifi: enable RF kill interrupt in start_hw
The op_mode wants to know about changes in HW RF kill state.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c index 78aa3208bff9..589037d6e397 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c @@ -1420,6 +1420,9 @@ static int iwl_trans_pcie_start_hw(struct iwl_trans *trans) iwl_apm_init(trans); + /* From now on, the op_mode will be kept updated about RF kill state */ + iwl_enable_rfkill_int(trans); + hw_rfkill = iwl_is_rfkill_set(trans); iwl_op_mode_hw_rf_kill(trans->op_mode, hw_rfkill); |