diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-06-21 22:38:51 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-23 19:14:04 (GMT) |
commit | ee031112d9eef5508f765ebc90ab488e01db002e (patch) | |
tree | ae434f3625363317323f1d07e4ef5fb8de47804e | |
parent | d5c4d1930ce16b79990f8bb049d090eafd1fedde (diff) | |
download | linux-fsl-qoriq-ee031112d9eef5508f765ebc90ab488e01db002e.tar.xz |
ath9k_hw: add an extra delay when reseting AR_RTC_RESET
Without this we could start trying to work with the device without
it being fully functional yet and loose some packets upon resume.
Cc: Aeolus Yang <aeolus.yang@atheros.com>
Cc: Madhan Jaganathan <madhan.jaganathan@atheros.com>
signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index e9764dc..1ed1440 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -1070,6 +1070,7 @@ static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah) REG_WRITE(ah, AR_RC, AR_RC_AHB); REG_WRITE(ah, AR_RTC_RESET, 0); + udelay(2); REGWRITE_BUFFER_FLUSH(ah); DISABLE_REGWRITE_BUFFER(ah); |