Restore scan request settings if initial association failed
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 24 Sep 2008 09:48:33 +0000 (12:48 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 24 Sep 2008 09:48:33 +0000 (12:48 +0300)
commit2064c2f98515016c376f3b69bfe161c85639e764
tree62187594687d0dfcdbd10b87ce07ac11d962e682
parent76dca8929507feca772a35e830329934ae685444
Restore scan request settings if initial association failed

The scan path to initiate another scan if the initial association failed
was broken due to wpa_s->scan_req being zeroed earlier in
wpa_supplicant_scan(). This caused the second scan to bail out early
since it thought this was not a requested scan.
wpa_supplicant/scan.c