--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
-@@ -5502,6 +5502,9 @@ static int i802_set_wds_sta(void *priv,
+@@ -5504,6 +5504,9 @@ static int i802_set_wds_sta(void *priv,
linux_set_iface_flags(drv->ioctl_sock, name, 1);
return i802_set_sta_vlan(priv, addr, name, 0);
} else {
i802_set_sta_vlan(priv, addr, bss->ifname, 0);
return wpa_driver_nl80211_if_remove(priv, WPA_IF_AP_VLAN,
name);
-@@ -5942,14 +5945,14 @@ static int wpa_driver_nl80211_if_remove(
+@@ -5944,14 +5947,14 @@ static int wpa_driver_nl80211_if_remove(
return -1;
#ifdef HOSTAPD