X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8968bee891bde44ddcd93d31980b5f3dda60c80a..8940cbc303a16f2cb7dcbcf91d01401b5f14b742:/package/mac80211/patches/531-ath9k_cur_txpower.patch diff --git a/package/mac80211/patches/531-ath9k_cur_txpower.patch b/package/mac80211/patches/531-ath9k_cur_txpower.patch index 760f4d754..8fdd436cd 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 -@@ -1684,6 +1684,8 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1683,6 +1683,8 @@ int ath9k_config(struct ieee80211_hw *hw 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 -@@ -1699,6 +1701,7 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1697,6 +1699,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);