mac80211: add initial support for AR9330
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 549-ath9k-use-different-BB-watchdog-timeout-value-for-AR.patch
1 diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
2 index 826ed5d..f53a3bf 100644
3 --- a/drivers/net/wireless/ath/ath9k/hw.c
4 +++ b/drivers/net/wireless/ath/ath9k/hw.c
5 @@ -615,7 +615,10 @@ static int __ath9k_hw_init(struct ath_hw *ah)
6 else
7 ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S);
8
9 - ah->bb_watchdog_timeout_ms = 25;
10 + if (AR_SREV_9330(ah))
11 + ah->bb_watchdog_timeout_ms = 85;
12 + else
13 + ah->bb_watchdog_timeout_ms = 25;
14
15 common->state = ATH_HW_INITIALIZED;
16
17