summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/531-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-28 18:38:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-28 18:38:24 +0000
commit8a26e3d6c7c32ddffffc1b4844daa3b331a1ba5e (patch)
tree2077e1eb275c4a1a63a794efa1bcdd16a61b1019 /package/mac80211/patches/531-ath9k_cur_txpower.patch
parent45d80c30a223e17a6e938ddb6bfab48642e684ce (diff)
downloadmaster-31e0f0ae-8a26e3d6c7c32ddffffc1b4844daa3b331a1ba5e.tar.gz
master-31e0f0ae-8a26e3d6c7c32ddffffc1b4844daa3b331a1ba5e.tar.bz2
master-31e0f0ae-8a26e3d6c7c32ddffffc1b4844daa3b331a1ba5e.zip
ath9k: implement rx/tx antenna control
SVN-Revision: 28107
Diffstat (limited to 'package/mac80211/patches/531-ath9k_cur_txpower.patch')
-rw-r--r--package/mac80211/patches/531-ath9k_cur_txpower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/531-ath9k_cur_txpower.patch b/package/mac80211/patches/531-ath9k_cur_txpower.patch
index f0de43eb47..8e104d9fee 100644
--- a/package/mac80211/patches/531-ath9k_cur_txpower.patch
+++ b/package/mac80211/patches/531-ath9k_cur_txpower.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1734,6 +1734,8 @@ static int ath9k_config(struct ieee80211
+@@ -1732,6 +1732,8 @@ static int ath9k_config(struct ieee80211
return -EINVAL;
}
@@ -9,7 +9,7 @@
/*
* The most recent snapshot of channel->noisefloor for the old
* channel is only available after the hardware reset. Copy it to
-@@ -1751,6 +1753,7 @@ static int ath9k_config(struct ieee80211
+@@ -1749,6 +1751,7 @@ static int ath9k_config(struct ieee80211
ath9k_cmn_update_txpow(ah, sc->curtxpow,
sc->config.txpowlimit, &sc->curtxpow);
ath9k_ps_restore(sc);