diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2010-11-23 13:43:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-30 13:52:30 -0500 |
commit | e088f23be166635b3938571c00c686094efa7cc4 (patch) | |
tree | e2c18daed9c11abdebf547b6affd18ba1a5be74d | |
parent | d41174fabdae348c6583cf05aeb329da232c342c (diff) |
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.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/reset.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c index 083367712d67..91a2b2166def 100644 --- a/drivers/net/wireless/ath/ath5k/reset.c +++ b/drivers/net/wireless/ath/ath5k/reset.c | |||
@@ -823,6 +823,11 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, | |||
823 | mode = 0; | 823 | mode = 0; |
824 | 824 | ||
825 | /* | 825 | /* |
826 | * Stop PCU | ||
827 | */ | ||
828 | ath5k_hw_stop_rx_pcu(ah); | ||
829 | |||
830 | /* | ||
826 | * Stop DMA | 831 | * Stop DMA |
827 | * | 832 | * |
828 | * Note: If DMA didn't stop continue | 833 | * Note: If DMA didn't stop continue |