From: Emmanuel Grumbach Date: Sun, 17 Jun 2012 13:04:25 +0000 (+0300) Subject: iwlwifi: disable BH before the call to iwl_op_mode_nic_error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24172f39b02e5fcd35a4f721bde5bc9b61534736;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Johannes Berg --- 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; }