aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-14 19:38:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-14 19:38:42 +0000
commit8184099eabe30bbdf3096e836e1bb1c644390d4d (patch)
treee3b10fbd7977b5c4bd82c69c678f491b28368696 /package/kernel/mac80211/patches/521-ath9k_cur_txpower.patch
parent01e1878a8a67107d9ba15257d21c163dae6fb056 (diff)
downloadupstream-8184099eabe30bbdf3096e836e1bb1c644390d4d.tar.gz
upstream-8184099eabe30bbdf3096e836e1bb1c644390d4d.tar.bz2
upstream-8184099eabe30bbdf3096e836e1bb1c644390d4d.zip
ath9k: add some more pending fixes / optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38398 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 e101b249a3..9d5acb9a0f 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
-@@ -296,8 +296,12 @@ static int ath_reset_internal(struct ath
+@@ -313,8 +313,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);
-@@ -1285,6 +1289,7 @@ static int ath9k_config(struct ieee80211
+@@ -1304,6 +1308,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);