Skip to content

Commit

Permalink
iwlwifi: reset_ict in stop_hw
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Dec 6, 2012
1 parent 6a06b6c commit 8d96bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/pcie/trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d96bb6

Please sign in to comment.