Skip to contentSkip to conversation

ath5k: Stop PCU on reset

PATCH In review Nick Kossifidis 1 participant 1 message Nov 23, 2010 Atheros ATH5K wireless driver

lore
Share & tools
lore

Nick Kossifidis

author maintainer
#0 lore raw

PATCH 3/30 ath5k: Stop PCU on reset

* Stop PCU receive logic (DRU) durring reset
We need to be sure pcu is not active when trying to stop rx dma right now this is done on ath5k_reset (base.c) but later we are going to clean it up.

---
 drivers/net/wireless/ath/ath5k/reset.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath5k/reset.c +5 -0
index 4f94a60..e4900e1 100644
@@ -823,6 +823,11 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode,
 	mode = 0;
 
 	/*
+	 * Stop PCU
+	 */
+	ath5k_hw_stop_rx_pcu(ah);
+
+	/*
 	 * Stop DMA
 	 *
 	 * Note: If DMA didn't stop continue