diff options
author | Rui Paulo <rpaulo@gmail.com> | 2009-11-09 18:46:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-13 17:43:55 -0500 |
commit | 36f0d5f537885179c8fa92a70d4fcfb3a336b082 (patch) | |
tree | 0bc305e0eb1da753fc2302f72a677c936de0567b /net | |
parent | 77fa76bb7f5589cd336e4da4a02e2d685b70ce0a (diff) |
mac80211: fix BSSID setup for beacon frames
BSSID is now set to the TA.
Signed-off-by: Rui Paulo <rpaulo@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Reviewed-by: Andrey Yurovsky <andrey@cozybit.com>
Tested-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 2f3345c5f7cf..3ad053f6de12 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2148,7 +2148,7 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, | |||
2148 | cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_BEACON); | 2148 | cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_BEACON); |
2149 | memset(mgmt->da, 0xff, ETH_ALEN); | 2149 | memset(mgmt->da, 0xff, ETH_ALEN); |
2150 | memcpy(mgmt->sa, sdata->dev->dev_addr, ETH_ALEN); | 2150 | memcpy(mgmt->sa, sdata->dev->dev_addr, ETH_ALEN); |
2151 | /* BSSID is left zeroed, wildcard value */ | 2151 | memcpy(mgmt->bssid, sdata->dev->dev_addr, ETH_ALEN); |
2152 | mgmt->u.beacon.beacon_int = | 2152 | mgmt->u.beacon.beacon_int = |
2153 | cpu_to_le16(sdata->vif.bss_conf.beacon_int); | 2153 | cpu_to_le16(sdata->vif.bss_conf.beacon_int); |
2154 | mgmt->u.beacon.capab_info = 0x0; /* 0x0 for MPs */ | 2154 | mgmt->u.beacon.capab_info = 0x0; /* 0x0 for MPs */ |