Message ID | 1361630837-25472-2-git-send-email-nbd@openwrt.org |
---|---|
State | Accepted |
Commit | c3e3a5b90c3ceb9e26701166592f293951e4ad84 |
Headers | show |
On Sat, Feb 23, 2013 at 03:47:17PM +0100, Felix Fietkau wrote: > The MAC address of the AP VLAN needs to be the same as the BSS that the > STA belongs to. Thanks, applied.
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0803b16..2903881 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7887,7 +7887,7 @@ static int i802_set_wds_sta(void *priv, const u8 *addr, int aid, int val, 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,