summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Spinadel <david.spinadel@intel.com>2012-08-08 15:17:26 +0300
committerJohannes Berg <johannes.berg@intel.com>2012-09-10 19:09:59 +0200
commit8b61fa242ce56838ce1c41db3692b64b4c344776 (patch)
tree998646e3905a7724c882b979d3253cade54a3327
parent6379103e896a5e5aa707ea818588604ddd80064d (diff)
downloadblackbird-op-linux-8b61fa242ce56838ce1c41db3692b64b4c344776.tar.gz
blackbird-op-linux-8b61fa242ce56838ce1c41db3692b64b4c344776.zip
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 <david.spinadel@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/trans.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c
index e555dff70b78..913ad46a6686 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
OpenPOWER on IntegriCloud