iwlwifi: reset_ict in stop_hw
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Dec 2012 20:53:30 +0000 (22:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 21:24:51 +0000 (22:24 +0100)
Since the device is taken down in stop_hw, call reset_ict
from there too.

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

index 09d2ed1e80203b561a2e085c67c4004672030461..39d6219ff8f316958b9cd70871bb3ba03c37515f 100644 (file)
@@ -635,6 +635,8 @@ static void iwl_trans_pcie_stop_hw(struct iwl_trans *trans,
        iwl_disable_interrupts(trans);
        spin_unlock_irqrestore(&trans_pcie->irq_lock, flags);
 
+       iwl_pcie_disable_ict(trans);
+
        if (!op_mode_leaving) {
                /*
                 * Even if we stop the HW, we still want the RF kill