mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
mac80211: fix tx power regression for ath9k
This commit is contained in:
parent
53eada2a47
commit
21846b9d08
@ -17,7 +17,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
|
||||
+ /* FCC allows maximum antenna gain of 3 dBi */
|
||||
+ if (reg->region == NL80211_DFS_FCC)
|
||||
+ ant_reduction = min_t(int, ant_reduction - 6, 0);
|
||||
+ ant_reduction = max_t(int, ant_reduction - 6, 0);
|
||||
+
|
||||
ah->eep_ops->set_txpower(ah, chan, ctl, ant_reduction, new_pwr, test);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user