From aef9e61b32ef2ff005c13347c893da5f1ed8dd67 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 28 Sep 2012 18:29:02 +0000 Subject: mac80211: rework the current tx power display patch SVN-Revision: 33584 --- package/mac80211/patches/521-ath9k_cur_txpower.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/mac80211/patches/521-ath9k_cur_txpower.patch') 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); -- cgit v1.2.3