]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Remove redundant put_freq call in set_ap() for AP MLD
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Wed, 6 Mar 2024 06:38:40 +0000 (12:08 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 27 Mar 2024 16:12:39 +0000 (18:12 +0200)
commitb810426eaa23a8b63c997ba2f4ece8d2ffbe7571
treeb80ec563aacf5e25cd11f78cd4f9c63a1e3f1a5d
parent4200657338927bee4151c94d2375c42165d76e0d
nl80211: Remove redundant put_freq call in set_ap() for AP MLD

wpa_driver_nl80211_set_ap() called nl80211_put_freq_params() twice if AP
is an AP MLD. It called once while putting the MLO link ID and the other
time in the normal flow if frequency info is present. Doing this twice
is not required.

Call put_freq once during the normal flow only and separately of that,
add the link ID for AP MLD.

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