]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Skip scan before starting a BSS in AP mode
authorJintao Lin <jintaolin@chromium.org>
Thu, 20 Apr 2023 21:36:40 +0000 (21:36 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 28 Apr 2023 18:06:10 +0000 (21:06 +0300)
commit73372322038d2617f2be4542c0f2a5fa846fe911
tree1d8252eb6c3ce432c440e2128c9931f9f94d37b4
parentf45cf609c7573286db5cfbe9f8674d9b3098506d
wpa_supplicant: Skip scan before starting a BSS in AP mode

When starting a new BSS as AP mode, the network configs have been passed
in from the BSS config. There is no need to scan before creating a new
BSS. Reuse connect_without_scan structure member to bypass scan when the
mode is WPAS_MODE_AP.

Signed-off-by: Jintao Lin <jintaolin@chromium.org>
wpa_supplicant/wpa_supplicant.c