diff mbox

[regression] AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb)

Message ID 4CC9D50F.5070403@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Gertjan van Wingerde Oct. 28, 2010, 7:54 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index bc4cc93..f0da7b7 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -284,7 +284,7 @@  int rt2x00mac_add_interface(struct ieee80211_hw *hw,
 	 */
 	memcpy(&intf->mac, vif->addr, ETH_ALEN);
 	if (vif->type == NL80211_IFTYPE_AP) {
-		memcpy(&intf->bssid, vif->addr, ETH_ALEN);
+		memcpy(intf->bssid, vif->addr, ETH_ALEN);
 		rt2x00lib_config_intf(rt2x00dev, intf, vif->type,
 				      intf->mac, intf->bssid);
 	} else {