Fix per-SSID scan (scan_ssid=1)
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 16:00:57 +0000 (18:00 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 16:00:57 +0000 (18:00 +0200)
commit5be45e2e6ef9992224376db0bd882ea8450f2621
tree704bedbe167d324d29cbb37db86a99f37b8691a3
parent5228401cbc2969da5660ec07ff113de769f92e64
Fix per-SSID scan (scan_ssid=1)

Commit d3a9822542166e7adec16e24622486ba90359ef5 broke per-SSID scan
by using the ssid variable for internal loop and by doing so,
overriding the value that was needed below to figure out whether the
scan is for a specific SSID. Fix this by using a temporary variable
instead when looping over network finding which frequencies to scan for.
wpa_supplicant/scan.c