From: Gabor Juhos Date: Tue, 21 Jun 2011 09:23:30 +0000 (+0200) Subject: ath9k: use different BB watchdog timeout value for AR9330 X-Git-Tag: MMI-PSA29.97-13-9~18350^2~12^2~42^2~359 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88e641df19a8f9f36e4ca18f8cdff000be8d5ef9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: use different BB watchdog timeout value for AR9330 Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- 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) else ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); - ah->bb_watchdog_timeout_ms = 25; + if (AR_SREV_9330(ah)) + ah->bb_watchdog_timeout_ms = 85; + else + ah->bb_watchdog_timeout_ms = 25; common->state = ATH_HW_INITIALIZED;