mirror of https://github.com/hak5/openwrt.git
12 lines
376 B
Diff
12 lines
376 B
Diff
--- 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,
|