iwlwifi: don't reset interupts after disabling
authorDavid Spinadel <david.spinadel@intel.com>
Wed, 8 Aug 2012 12:17:26 +0000 (15:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Sep 2012 17:09:59 +0000 (19:09 +0200)
iwl_disable_interupts() already resets the register, no
need to do it again.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c

index e555dff70b788614f6e25a3d370dbd150860ef32..913ad46a668615cc5d2a96bc2521f59f18620e5d 100644 (file)
@@ -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