iwlwifi: don't double free the interrupt in failure path
When the driver can't get the HW ready, we would release the interrupt twice which made the kernel complain loudly. Cc: stable@vger.kernel.org Reported-by: Brian Cockrell <brian.cockrell@intel.com> Tested-by: Brian Cockrell <brian.cockrell@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a85d0d7f34
commit
a7be50b7e3
1 changed files with 1 additions and 0 deletions
|
@ -1442,6 +1442,7 @@ static int iwl_trans_pcie_start_hw(struct iwl_trans *trans)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
err_free_irq:
|
err_free_irq:
|
||||||
|
trans_pcie->irq_requested = false;
|
||||||
free_irq(trans_pcie->irq, trans);
|
free_irq(trans_pcie->irq, trans);
|
||||||
error:
|
error:
|
||||||
iwl_free_isr_ict(trans);
|
iwl_free_isr_ict(trans);
|
||||||
|
|
Loading…
Reference in a new issue