]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix AP MLD frequency update on channel switch
authorChenming Huang <quic_chenhuan@quicinc.com>
Wed, 13 Mar 2024 12:38:26 +0000 (18:08 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 26 Mar 2024 15:46:33 +0000 (17:46 +0200)
commit9be122d2e0aeb3bec64dc4f3f72095dc499f3750
treed3438f47b178031cd743e901943246c366b1471c
parentbd52684498c61cac89c55eff20a3012f59f47f17
nl80211: Fix AP MLD frequency update on channel switch

mlme_event() calls nl80211_get_link_id_by_freq() to determine the link
to handle reported events. However, in channel switch event it is always
setting freq to the default link that leads to the issue that all other
events that go to mlme_event() will be handled in the default link.

Fix this by setting freq to the correct link specified by the link ID
when processing the event for a completed channel switch.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
src/drivers/driver_nl80211_event.c