]> git.ipfire.org Git - thirdparty/hostap.git/commit
scan: Pass correct link ID in all cases
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Sat, 7 Sep 2024 04:08:00 +0000 (09:38 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 2 Oct 2024 21:38:56 +0000 (00:38 +0300)
commitb83859c785160b0bdff60dfdb2820f1800acb0a9
treedc1dfe155b368570fbc5212e703bc14360158d92
parent9bc75ef93ad13c637e790d32e85798ec5818e206
scan: Pass correct link ID in all cases

In hostapd, when a scan was initiated, the link ID parameter was not
populated in all scenarios, such as ACS. Additionally, each caller of
hostapd_driver_scan() provided the link ID. However, since
hostapd_driver_scan() has access to the hapd pointer, it can populate
the link ID itself.

And from wpa_supplicant, link ID was passed as 0 which does not seem to
be correct. Fix that as well.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/ap_drv_ops.c
src/ap/hw_features.c
wpa_supplicant/driver_i.h