瀏覽代碼

iwlwifi: pcie: don't disable bh when handling FW errors

When we started using threaded irqs, all the opmode calls were changed
to be called with local_bh disabled.  The reason for this was it was
that mac80211 needs that.  When we are handling FW errors, mac80211 is
not involved, so we don't need it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Luca Coelho 8 年之前
父節點
當前提交
ffd6fd4561
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/net/wireless/intel/iwlwifi/pcie/rx.c

+ 0 - 2
drivers/net/wireless/intel/iwlwifi/pcie/rx.c

@@ -1413,11 +1413,9 @@ static void iwl_pcie_irq_handle_error(struct iwl_trans *trans)
 		return;
 		return;
 	}
 	}
 
 
-	local_bh_disable();
 	/* The STATUS_FW_ERROR bit is set in this function. This must happen
 	/* The STATUS_FW_ERROR bit is set in this function. This must happen
 	 * before we wake up the command caller, to ensure a proper cleanup. */
 	 * before we wake up the command caller, to ensure a proper cleanup. */
 	iwl_trans_fw_error(trans);
 	iwl_trans_fw_error(trans);
-	local_bh_enable();
 
 
 	for (i = 0; i < trans->cfg->base_params->num_of_queues; i++) {
 	for (i = 0; i < trans->cfg->base_params->num_of_queues; i++) {
 		if (!trans_pcie->txq[i])
 		if (!trans_pcie->txq[i])