X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F521-ath9k_cur_txpower.patch;fp=package%2Fmac80211%2Fpatches%2F521-ath9k_cur_txpower.patch;h=87a316c4f0f4d71fe149ccbb1ec892bd961c2abc;hb=5ca4d24cd1043e142515ac66c44a26a2371978d3;hp=134031219b067a18a81e425077d65e4d72fdfdc3;hpb=d3a7b5633c7c1ea142cb8c0872cab484ca385c92;p=openwrt%2Fopenwrt.git diff --git a/package/mac80211/patches/521-ath9k_cur_txpower.patch b/package/mac80211/patches/521-ath9k_cur_txpower.patch index 134031219b..87a316c4f0 100644 --- a/package/mac80211/patches/521-ath9k_cur_txpower.patch +++ b/package/mac80211/patches/521-ath9k_cur_txpower.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -1266,6 +1266,8 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1258,6 +1258,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 -@@ -1302,6 +1304,7 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1294,6 +1296,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);