Call wpas_notify_network_selected only if a specific network was selected
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 16:06:02 +0000 (18:06 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 16:06:02 +0000 (18:06 +0200)
commita1641d267143b8f1429e46bc9cee0f7eb368cd91
treecdfc1f5792fd8fad492370a02a555f4207890205
parent5be45e2e6ef9992224376db0bd882ea8450f2621
Call wpas_notify_network_selected only if a specific network was selected

ssid could be NULL here at least based on the function documentation,
so better check whether that is the case prior to calling the
notification function.
wpa_supplicant/wpa_supplicant.c