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 | 023105284ffc98088666c04f5a46c01004b2f586 (patch) | |
tree | f5f19bec519e6d5a1e4c022da0b89ffc66c0a618 /package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch | |
parent | 8001e6a6899724ef42ba2b319a94a3412cf5d0ac (diff) | |
download | upstream-023105284ffc98088666c04f5a46c01004b2f586.tar.gz upstream-023105284ffc98088666c04f5a46c01004b2f586.tar.bz2 upstream-023105284ffc98088666c04f5a46c01004b2f586.zip |
ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36344
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) { |