commit: a7be50b7e30f9d77cb059a7ffdb781bb0fb92eba From: Emmanuel Grumbach <[email protected]> Date: Tue, 18 Sep 2012 19:48:59 +0200 Subject: 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: [email protected] Reported-by: Brian Cockrell <[email protected]> Tested-by: Brian Cockrell <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]> --- drivers/net/wireless/iwlwifi/pcie/trans.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index 1e86ea2..dbeebef 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c @@ -1442,6 +1442,7 @@ static int iwl_trans_pcie_start_hw(struct iwl_trans *trans) return err; err_free_irq: + trans_pcie->irq_requested = false; free_irq(trans_pcie->irq, trans); error: iwl_free_isr_ict(trans); -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
