summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/580-fix_bss_addr.patch
blob: 3a76668c141346bc8007e6192f7148bd5253759a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7738,7 +7738,7 @@ static int i802_set_wds_sta(void *priv, 
 		if (!if_nametoindex(name)) {
 			if (nl80211_create_iface(drv, name,
 						 NL80211_IFTYPE_AP_VLAN,
-						 NULL, 1) < 0)
+						 bss->addr, 1) < 0)
 				return -1;
 			if (bridge_ifname &&
 			    linux_br_add_if(drv->global->ioctl_sock,