X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch;h=d799ab4a628881f7f702bed762421befe33f1d59;hb=35868234e7c6f60af00ac648556ca798aee49ae8;hp=38b52644a3a70b61f71f04bad82ec6f8ce6a9077;hpb=9e64874fb2508e49e52898c238d817bd152bf2c2;p=openwrt%2F.git diff --git a/package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch b/package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch index 38b52644a3..d799ab4a62 100644 --- a/package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch +++ b/package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch @@ -16,7 +16,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); }