summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-19 17:18:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-19 17:18:07 +0000
commitbac83378e74eeae366b80d209dcd7b442f1d4012 (patch)
tree5b5c4aa12aef79d237bb7ce4e3f358c9f5546e25 /package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
parent5db5354c708f62a5c4814342334951dbd4e089e7 (diff)
downloadmtk-20170518-bac83378e74eeae366b80d209dcd7b442f1d4012.zip
mtk-20170518-bac83378e74eeae366b80d209dcd7b442f1d4012.tar.gz
mtk-20170518-bac83378e74eeae366b80d209dcd7b442f1d4012.tar.bz2
ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39138
Diffstat (limited to 'package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch')
-rw-r--r--package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch b/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
index afc5ba6..f960519 100644
--- a/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
+++ b/package/kernel/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
@@ -10,7 +10,7 @@
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -2841,7 +2841,7 @@ void ath9k_hw_apply_txpower(struct ath_h
+@@ -2809,7 +2809,7 @@ void ath9k_hw_apply_txpower(struct ath_h
channel = chan->chan;
chan_pwr = min_t(int, channel->max_power * 2, MAX_RATE_POWER);
new_pwr = min_t(int, chan_pwr, reg->power_limit);
@@ -21,7 +21,7 @@
if (ant_gain > max_gain)
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1345,7 +1345,10 @@ static int ath9k_config(struct ieee80211
+@@ -1347,7 +1347,10 @@ static int ath9k_config(struct ieee80211
}
if (changed & IEEE80211_CONF_CHANGE_POWER) {