]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Allow VLAN interface to be removed for AP MLD
authorMuna Sinada <muna.sinada@oss.qualcomm.com>
Mon, 9 Jun 2025 18:06:15 +0000 (11:06 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 29 Sep 2025 19:21:06 +0000 (22:21 +0300)
Signed-off-by: Muna Sinada <muna.sinada@oss.qualcomm.com>
Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
src/drivers/driver_nl80211.c

index c5bbe119c9a3feda47dfbe7205ef7aefcd8efd63..4bc2a3a65707a68f1336308c52d07476ca7556e1 100644 (file)
@@ -11085,6 +11085,9 @@ static int driver_nl80211_link_remove(void *priv, enum wpa_driver_if_type type,
        struct wpa_driver_nl80211_data *drv = bss->drv;
        int ret;
 
+       if (type == WPA_IF_AP_VLAN)
+               return wpa_driver_nl80211_if_remove(bss, type, ifname);
+
        if (type != WPA_IF_AP_BSS)
                return -1;