kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
[librecmc/librecmc.git] / package / mac80211 / patches / 549-ath9k-use-different-BB-watchdog-timeout-value-for-AR.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -624,7 +624,10 @@ static int __ath9k_hw_init(struct ath_hw
4         else
5                 ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S);
6  
7 -       ah->bb_watchdog_timeout_ms = 25;
8 +       if (AR_SREV_9330(ah))
9 +               ah->bb_watchdog_timeout_ms = 85;
10 +       else
11 +               ah->bb_watchdog_timeout_ms = 25;
12  
13         common->state = ATH_HW_INITIALIZED;
14