ath5k: Stop PCU on reset
authorNick Kossifidis <mickflemm@gmail.com>
Tue, 23 Nov 2010 18:43:18 +0000 (20:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:52:30 +0000 (13:52 -0500)
 * 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.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/reset.c

index 083367712d678fb501426c1713aebe5b254910b4..91a2b2166def2e65bc6bee3c0836b45c5bded958 100644 (file)
@@ -822,6 +822,11 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode,
        freq = 0;
        mode = 0;
 
+       /*
+        * Stop PCU
+        */
+       ath5k_hw_stop_rx_pcu(ah);
+
        /*
         * Stop DMA
         *