summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/580-fix_bss_addr.patch
blob: fffa25ec42b0b308714dbac19d7788149db54af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7607,7 +7607,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,