Clear scan_req to NORMAL_SCAN_REQ for connection attempt
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 27 Nov 2014 15:41:02 +0000 (17:41 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Nov 2014 15:55:54 +0000 (17:55 +0200)
commit5214f4fafcfe7a70b1b86d2472b6b38d76b2de57
tree6f5982067130b38ba5d23af527bde0c3d3c59736
parentf33c82d23ef83394694d3704a5a4a5f9b8b69b81
Clear scan_req to NORMAL_SCAN_REQ for connection attempt

This is needed to fix some sequencies where a real scan in ap_scan=2
case would be issued even when the connection case would expect direct
connection without a scan.

This fixed an issue shown in hwsim test case autoscan_exponential
followed by ibss_open_fixed_bssid.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wpa_supplicant.c