diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-06-17 13:04:25 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-18 08:46:26 (GMT) |
commit | 24172f39b02e5fcd35a4f721bde5bc9b61534736 (patch) | |
tree | 79aae5dbdc44cf528f9c5fbead96870c878e448e /drivers | |
parent | 901787c1674ee5d35c7c3713efbc009c72f43971 (diff) | |
download | linux-fsl-qoriq-24172f39b02e5fcd35a4f721bde5bc9b61534736.tar.xz |
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')
-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 c6f53af..e20880a 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; } |