gdb: add dependency to libexpat when present
[openwrt.git] / package / mac80211 / patches / 543-ath9k_fix_mac_clock_div.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -100,6 +100,13 @@ static void ath9k_hw_set_clockrate(struc
4 if (conf_is_ht40(conf))
5 clockrate *= 2;
6
7 + if (ah->curchan) {
8 + if (IS_CHAN_HALF_RATE(ah->curchan))
9 + clockrate /= 2;
10 + if (IS_CHAN_QUARTER_RATE(ah->curchan))
11 + clockrate /= 4;
12 + }
13 +
14 common->clockrate = clockrate;
15 }
16
This page took 0.041896 seconds and 5 git commands to generate.