From: David Spinadel Date: Wed, 8 Aug 2012 12:17:26 +0000 (+0300) Subject: iwlwifi: don't reset interupts after disabling X-Git-Tag: v3.7-rc1~145^2~30^2~47^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b61fa242ce56838ce1c41db3692b64b4c344776;p=platform%2Fupstream%2Fkernel-adaptation-pc.git iwlwifi: don't reset interupts after disabling iwl_disable_interupts() already resets the register, no need to do it again. Signed-off-by: David Spinadel Reviewed-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 e555dff..913ad46 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c @@ -1459,8 +1459,6 @@ static void iwl_trans_pcie_stop_hw(struct iwl_trans *trans, iwl_disable_interrupts(trans); spin_unlock_irqrestore(&trans_pcie->irq_lock, flags); - iwl_write32(trans, CSR_INT, 0xFFFFFFFF); - if (!op_mode_leaving) { /* * Even if we stop the HW, we still want the RF kill