diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-06-17 16:04:25 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-18 10:46:26 +0200 |
commit | 24172f39b02e5fcd35a4f721bde5bc9b61534736 (patch) | |
tree | 79aae5dbdc44cf528f9c5fbead96870c878e448e /drivers/net/wireless/iwlwifi | |
parent | 901787c1674ee5d35c7c3713efbc009c72f43971 (diff) |
iwlwifi: disable BH before the call to iwl_op_mode_nic_error
This is required by the op_mode API.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/trans.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index c6f53af639c..e20880acdd3 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c @@ -2026,7 +2026,9 @@ static ssize_t iwl_dbgfs_fw_restart_write(struct file *file, if (!trans->op_mode) return -EAGAIN; + local_bh_disable(); iwl_op_mode_nic_error(trans->op_mode); + local_bh_enable(); return count; } |