diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-28 18:29:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-28 18:29:02 +0000 |
commit | aef9e61b32ef2ff005c13347c893da5f1ed8dd67 (patch) | |
tree | 63f671d3dbba33d38270617a24a8eedbdf7b3f9c /package/mac80211/patches/521-ath9k_cur_txpower.patch | |
parent | d3add1f103b1870a7263b0037873b696bc726cec (diff) | |
download | upstream-aef9e61b32ef2ff005c13347c893da5f1ed8dd67.tar.gz upstream-aef9e61b32ef2ff005c13347c893da5f1ed8dd67.tar.bz2 upstream-aef9e61b32ef2ff005c13347c893da5f1ed8dd67.zip |
mac80211: rework the current tx power display patch
SVN-Revision: 33584
Diffstat (limited to 'package/mac80211/patches/521-ath9k_cur_txpower.patch')
-rw-r--r-- | package/mac80211/patches/521-ath9k_cur_txpower.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/521-ath9k_cur_txpower.patch b/package/mac80211/patches/521-ath9k_cur_txpower.patch index 1cc4da23e6..1133cfa6ba 100644 --- a/package/mac80211/patches/521-ath9k_cur_txpower.patch +++ b/package/mac80211/patches/521-ath9k_cur_txpower.patch @@ -4,7 +4,7 @@ return -EINVAL; } -+ conf->cur_power_level = sc->curtxpow / 2; ++ hw->cur_power_level = sc->curtxpow / 2; + /* * The most recent snapshot of channel->noisefloor for the old @@ -13,7 +13,7 @@ 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; ++ hw->cur_power_level = sc->curtxpow / 2; } mutex_unlock(&sc->mutex); |