diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-03-31 11:28:38 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-23 17:19:47 -0400 |
commit | 218733cf7d01fb6225e37a16818870d20c1d8771 (patch) | |
tree | f5b2afb03ced78868a9cad0599a1fb6b0aa4f8bd /drivers/net/wireless/iwlwifi/iwl-mac80211.c | |
parent | d23f78e61f6b37159df6bfce7023500d731f61f3 (diff) |
iwlwifi: provide proper API to disable all interrupts
Since the op_mode may go away, the transport needs to be able to
be told not to update the op_mode at all (even for RF kill).
Provide this API and use it in the proper places.
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/iwl-mac80211.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c b/drivers/net/wireless/iwlwifi/iwl-mac80211.c index 2d7453de5c7..b309ede4f07 100644 --- a/drivers/net/wireless/iwlwifi/iwl-mac80211.c +++ b/drivers/net/wireless/iwlwifi/iwl-mac80211.c | |||
@@ -355,7 +355,7 @@ void iwlagn_mac_stop(struct ieee80211_hw *hw) | |||
355 | * even if interface is down, trans->down will leave the RF | 355 | * even if interface is down, trans->down will leave the RF |
356 | * kill interrupt enabled | 356 | * kill interrupt enabled |
357 | */ | 357 | */ |
358 | iwl_trans_stop_hw(priv->trans); | 358 | iwl_trans_stop_hw(priv->trans, false); |
359 | 359 | ||
360 | IWL_DEBUG_MAC80211(priv, "leave\n"); | 360 | IWL_DEBUG_MAC80211(priv, "leave\n"); |
361 | } | 361 | } |