From 198408b9242e3c88c3514b82143de65615664e3c 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33584 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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