summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-20 09:35:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-20 09:35:17 +0000
commit8513629e3ed39ac7d6d3ca90f1ad745db5c449d6 (patch)
treef38e2aa76f8ac55bf6eb361446250acce57956c5 /package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
parent8f526ff53067d029f42e0b887d770b28546fc0e9 (diff)
downloadmtk-20170518-8513629e3ed39ac7d6d3ca90f1ad745db5c449d6.zip
mtk-20170518-8513629e3ed39ac7d6d3ca90f1ad745db5c449d6.tar.gz
mtk-20170518-8513629e3ed39ac7d6d3ca90f1ad745db5c449d6.tar.bz2
mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40800
Diffstat (limited to 'package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch')
-rw-r--r--package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch b/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
index ebc3633..d4d2989 100644
--- a/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
+++ b/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -308,8 +308,12 @@ static int ath_reset_internal(struct ath
+@@ -310,8 +310,12 @@ static int ath_reset_internal(struct ath
(sc->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL))
ath9k_mci_set_txpower(sc, true, false);
@@ -14,7 +14,7 @@
out:
spin_unlock_bh(&sc->sc_pcu_lock);
-@@ -1377,6 +1381,7 @@ static int ath9k_config(struct ieee80211
+@@ -1411,6 +1415,7 @@ static int ath9k_config(struct ieee80211
sc->config.txpowlimit = 2 * conf->power_level;
ath9k_cmn_update_txpow(ah, sc->curtxpow,
sc->config.txpowlimit, &sc->curtxpow);