Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24172f39 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg
Browse files

iwlwifi: disable BH before the call to iwl_op_mode_nic_error



This is required by the op_mode API.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 901787c1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}