]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Remove common elements from per STA profile
authorPavithra Ganesan <quic_pavigane@quicinc.com>
Mon, 11 Nov 2024 03:42:21 +0000 (09:12 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 27 Nov 2024 17:26:19 +0000 (19:26 +0200)
commitae5ef60ed2168f4a4ac1fca05106c2333a7cb4ae
tree0c2dfc040f19c0549aea8c7b6bcc0086cde32611
parent7855b6d60ee7556d5096119e2b4b8df6999370a6
AP MLD: Remove common elements from per STA profile

Even when an element and its contents in the reported link match those
in the reporting link, the element was still added to the per-STA
profile of the reported link. This occurs because the parsed bitmap is
not updated when a match is found, resulting in the element being added
later. This results in per STA profile carrying extra information which
it should not.

Fix this issue by updating the parsed element ID bitmap accordingly.

Fixes: b5359d01ed55 ("AP MLD: Intersect per STA profile with the reporting BSS")
Signed-off-by: Pavithra Ganesan <quic_pavigane@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/beacon.c