scan: Clean up code a bit - ssid cannot be NULL here
authorJouni Malinen <j@w1.fi>
Sun, 22 May 2016 13:23:28 +0000 (16:23 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 22 May 2016 13:23:28 +0000 (16:23 +0300)
commite1ae2876d5851658feb91d0b3616738722edb05c
treecc2e8b1ab5680534cf8cfb4bf5544804f2f7f106
parenta1703947b134eea173e85e7030ad5527f2f8361f
scan: Clean up code a bit - ssid cannot be NULL here

wpa_s->current_ssid is set to a non-NULL ssid pointer value here, so
there is no need for the extra if statement.

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