diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-06-21 05:23:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-22 16:09:51 -0400 |
commit | 88e641df19a8f9f36e4ca18f8cdff000be8d5ef9 (patch) | |
tree | 9c995ddecc92c1edcfe805be2eddd88c4b19b7c7 | |
parent | a5415d625d35871dd8eaf3784a402f36c028c29d (diff) |
ath9k: use different BB watchdog timeout value for AR9330
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 99c90f71576e..b06fa6f83985 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -615,7 +615,10 @@ static int __ath9k_hw_init(struct ath_hw *ah) | |||
615 | else | 615 | else |
616 | ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); | 616 | ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); |
617 | 617 | ||
618 | ah->bb_watchdog_timeout_ms = 25; | 618 | if (AR_SREV_9330(ah)) |
619 | ah->bb_watchdog_timeout_ms = 85; | ||
620 | else | ||
621 | ah->bb_watchdog_timeout_ms = 25; | ||
619 | 622 | ||
620 | common->state = ATH_HW_INITIALIZED; | 623 | common->state = ATH_HW_INITIALIZED; |
621 | 624 | ||