summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-01-30 13:21:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-01-30 13:21:36 +0000
commiteb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74 (patch)
treef384015bf67b4da2efefd6d04a7f620dfe4504b1 /package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
parent2725913d2acca4774c41c7de0d8f4940615a3f1d (diff)
downloadmtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.zip
mtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.gz
mtk-20170518-eb7a1ba94b7221358ab5f207d8af8dc8b7a2cf74.tar.bz2
mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39427
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 0a5a71f..0d6c360 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
-@@ -313,8 +313,12 @@ static int ath_reset_internal(struct ath
+@@ -308,8 +308,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);
-@@ -1347,6 +1351,7 @@ static int ath9k_config(struct ieee80211
+@@ -1371,6 +1375,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);