summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/531-ath9k_cur_txpower.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-16 21:08:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-16 21:08:41 +0000
commitc0c371b58134d391f46de6dabf2bd0a96267cb38 (patch)
tree7b489799c8ddbfdd0ac3462317ce2be1a41368ed /package/mac80211/patches/531-ath9k_cur_txpower.patch
parentc379502147ee31e5b429ea8c38ae8c79e158e96a (diff)
downloadmaster-31e0f0ae-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.gz
master-31e0f0ae-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.bz2
master-31e0f0ae-c0c371b58134d391f46de6dabf2bd0a96267cb38.zip
mac80211: update to wireless-testing 2012-04-13
SVN-Revision: 31322
Diffstat (limited to 'package/mac80211/patches/531-ath9k_cur_txpower.patch')
-rw-r--r--package/mac80211/patches/531-ath9k_cur_txpower.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/package/mac80211/patches/531-ath9k_cur_txpower.patch b/package/mac80211/patches/531-ath9k_cur_txpower.patch
deleted file mode 100644
index 809a833085..0000000000
--- a/package/mac80211/patches/531-ath9k_cur_txpower.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/main.c
-+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1662,6 +1662,8 @@ int ath9k_config(struct ieee80211_hw *hw
- return -EINVAL;
- }
-
-+ conf->cur_power_level = sc->curtxpow / 2;
-+
- /*
- * The most recent snapshot of channel->noisefloor for the old
- * channel is only available after the hardware reset. Copy it to
-@@ -1676,6 +1678,7 @@ int ath9k_config(struct ieee80211_hw *hw
- sc->config.txpowlimit = 2 * conf->power_level;
- ath9k_cmn_update_txpow(ah, sc->curtxpow,
- sc->config.txpowlimit, &sc->curtxpow);
-+ conf->cur_power_level = sc->curtxpow / 2;
- }
-
- mutex_unlock(&sc->mutex);