From: Felix Fietkau Date: Thu, 28 Feb 2013 14:55:13 +0000 (+0200) Subject: nl80211: Fix WDS STA handling with multiple BSS interfaces X-Git-Tag: aosp-kk-from-upstream~527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e3a5b90c3ceb9e26701166592f293951e4ad84;p=thirdparty%2Fhostap.git nl80211: Fix WDS STA handling with multiple BSS interfaces The MAC address of the AP VLAN needs to be the same as the BSS that the STA belongs to. Signed-hostap: Felix Fietkau --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0803b160e..2903881e3 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,