diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-16 10:53:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-04-16 10:53:02 +0000 |
commit | a2043c1856d73b50fd988bacc7997493c113dd4d (patch) | |
tree | 1968ccd07e80cac75780c54719ef28ee0bbabe33 /package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch | |
parent | 270bb2883cc0f6fe6a38edbb7139e090349073df (diff) | |
download | upstream-a2043c1856d73b50fd988bacc7997493c113dd4d.tar.gz upstream-a2043c1856d73b50fd988bacc7997493c113dd4d.tar.bz2 upstream-a2043c1856d73b50fd988bacc7997493c113dd4d.zip |
ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36344 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch')
-rw-r--r-- | package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch b/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch index fe05212159..d249fd3780 100644 --- a/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch +++ b/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch @@ -10,7 +10,7 @@ --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -2818,7 +2818,7 @@ void ath9k_hw_apply_txpower(struct ath_h +@@ -2817,7 +2817,7 @@ void ath9k_hw_apply_txpower(struct ath_h channel = chan->chan; chan_pwr = min_t(int, channel->max_power * 2, MAX_RATE_POWER); new_pwr = min_t(int, chan_pwr, reg->power_limit); @@ -21,7 +21,7 @@ if (ant_gain > max_gain) --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -1272,7 +1272,10 @@ int ath9k_config(struct ieee80211_hw *hw +@@ -1277,7 +1277,10 @@ int ath9k_config(struct ieee80211_hw *hw } if (changed & IEEE80211_CONF_CHANGE_POWER) { |