nl80211: Print an error if WDS STA interface cannot be set up
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1871f7116e
commit
75227f3ada
1 changed files with 4 additions and 1 deletions
|
@ -7650,7 +7650,10 @@ static int i802_set_wds_sta(void *priv, const u8 *addr, int aid, int val,
|
|||
bridge_ifname, name) < 0)
|
||||
return -1;
|
||||
}
|
||||
linux_set_iface_flags(drv->global->ioctl_sock, name, 1);
|
||||
if (linux_set_iface_flags(drv->global->ioctl_sock, name, 1)) {
|
||||
wpa_printf(MSG_ERROR, "nl80211: Failed to set WDS STA "
|
||||
"interface %s up", name);
|
||||
}
|
||||
return i802_set_sta_vlan(priv, addr, name, 0);
|
||||
} else {
|
||||
i802_set_sta_vlan(priv, addr, bss->ifname, 0);
|
||||
|
|
Loading…
Reference in a new issue