mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
nl80211: Note interface-removal-from-bridge errors in debug log
One of the linux_br_del_if() calls did not log nl80211-specific entry. Make this more consistent with the other cases even though linux_br_add_if() function itself is logging an error in the ioctl() failure case (but not in the interface not found case). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
544b5a0d39
commit
f9052d6ea5
@ -6738,9 +6738,12 @@ static int i802_set_wds_sta(void *priv, const u8 *addr, int aid, int val,
|
|||||||
}
|
}
|
||||||
return i802_set_sta_vlan(priv, addr, name, 0);
|
return i802_set_sta_vlan(priv, addr, name, 0);
|
||||||
} else {
|
} else {
|
||||||
if (bridge_ifname)
|
if (bridge_ifname &&
|
||||||
linux_br_del_if(drv->global->ioctl_sock, bridge_ifname,
|
linux_br_del_if(drv->global->ioctl_sock, bridge_ifname,
|
||||||
name);
|
name) < 0)
|
||||||
|
wpa_printf(MSG_INFO,
|
||||||
|
"nl80211: Failed to remove interface %s from bridge %s: %s",
|
||||||
|
name, bridge_ifname, strerror(errno));
|
||||||
|
|
||||||
i802_set_sta_vlan(priv, addr, bss->ifname, 0);
|
i802_set_sta_vlan(priv, addr, bss->ifname, 0);
|
||||||
nl80211_remove_iface(drv, if_nametoindex(name));
|
nl80211_remove_iface(drv, if_nametoindex(name));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user