]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP MLD: Copy the vlan_id from the primary link to other links
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)
For non-AP MLD STA entries, copy the vlan_id from the primary link to
other links.

Signed-off-by: Muna Sinada <muna.sinada@oss.qualcomm.com>
Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
src/ap/ieee802_11.c

index 5fc99b40d2425d0013cb53f8efb664de37789889..d6ac425ab0ad8fd1e36fb3f18f24bab189574ab8 100644 (file)
@@ -4986,6 +4986,7 @@ int ieee80211_ml_process_link(struct hostapd_data *hapd,
                   hapd->mld_link_id, sta->aid);
 
        sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC_REQ_OK;
+       sta->vlan_id = origin_sta->vlan_id;
 
        /* TODO: What other processing is required? */