From: Nick Kossifidis Date: Tue, 23 Nov 2010 18:43:18 +0000 (+0200) Subject: ath5k: Stop PCU on reset X-Git-Tag: v2.6.38-rc1~476^2~276^2^2~65 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e088f23be166635b3938571c00c686094efa7cc4;p=~emulex%2Finfiniband.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c index 083367712d6..91a2b2166de 100644 --- a/drivers/net/wireless/ath/ath5k/reset.c +++ b/drivers/net/wireless/ath/ath5k/reset.c @@ -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 *