]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Sanitize link ID in mlme_event_ch_switch() for AP interface
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 7 Aug 2024 04:18:37 +0000 (09:48 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 8 Aug 2024 19:18:49 +0000 (22:18 +0300)
commite33a55d31d61d0a6970e899d3774ea7835975766
treed02e171624ac96b6197526613b28257039148bc3
parentde2ee083e797db28467c60de454bb6d6f518f32c
nl80211: Sanitize link ID in mlme_event_ch_switch() for AP interface

During channel switch handling for AP MLD, if link ID is incorrect,
there is no point in proceeding till end and failing or returning from
there. Hence sanitize it in the initial time itself and return if it is
incorrect. Throw a warning print if it is not correct as well.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/drivers/driver_nl80211_event.c