aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/580-fix_bss_addr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/580-fix_bss_addr.patch')
-rw-r--r--package/hostapd/patches/580-fix_bss_addr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/580-fix_bss_addr.patch b/package/hostapd/patches/580-fix_bss_addr.patch
new file mode 100644
index 000000000..3a76668c1
--- /dev/null
+++ b/package/hostapd/patches/580-fix_bss_addr.patch
@@ -0,0 +1,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,