]> git.ipfire.org Git - thirdparty/hostap.git/commit
Set NORMAL_SCAN_REQ on SELECT_NETWORK/ENABLE_NETWORK
authorJouni Malinen <j@w1.fi>
Sun, 16 Aug 2015 21:16:46 +0000 (00:16 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 16 Aug 2015 21:18:32 +0000 (00:18 +0300)
commit35d403096eb63c787bd736dd8ba0902c34398fa8
tree38e43dd7dc48f1c29385a98b095be37e3bb46695
parent035efb2c43acd3ee2abe083eb99f3180c3155822
Set NORMAL_SCAN_REQ on SELECT_NETWORK/ENABLE_NETWORK

wpa_s->scan_req needs to be set in these cases to get correct scanning
behavior. This is mainly needed for starting of AP mode operation
immediately in ap_scan=2 case.

This fixes an issue that was found with mac80211_hwsim test cases in the
following sequence: dbus_autoscan dbus_ap_scan_2_ap_mode_scan

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c