X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fjow.git;a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F315-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch;h=78083517bc6d4e313b237befb3045c22097c52e3;hp=59e4ddee3eb0b2adbf5cbe4da6ace28d4152834d;hb=5bd006aa2689d1ec813936b13eb1eb85ef4a0ab8;hpb=7ffb707576e8c635321275e9f118c8ad27d4c798 diff --git a/package/kernel/mac80211/patches/315-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch b/package/kernel/mac80211/patches/315-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch index 59e4ddee3e..78083517bc 100644 --- a/package/kernel/mac80211/patches/315-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch +++ b/package/kernel/mac80211/patches/315-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch @@ -17,7 +17,7 @@ Signed-off-by: Felix Fietkau + /* 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); }