Эх сурвалжийг харах

iwlwifi: reset_ict in stop_hw

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>
Emmanuel Grumbach 12 жил өмнө
parent
commit
8d96bb61fc

+ 2 - 0
drivers/net/wireless/iwlwifi/pcie/trans.c

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