From: Martin Xu <martin...@intel.com> Wpa_s 0.7.1 reports hidden network SSID as NULL, during scan. Conseqently, the ssid of hidden network (which is set by user before) may be cleared, and can not be connected anymore. --- plugins/supplicant.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index 62aac11..7323c94 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1576,7 +1576,8 @@ static void properties_reply(DBusPendingCall *call, void *user_data) if (result.name != NULL && result.name[0] != '\0') connman_network_set_name(network, result.name); - connman_network_set_blob(network, "WiFi.SSID", + if (result.ssid_len != 0) + connman_network_set_blob(network, "WiFi.SSID", result.ssid, result.ssid_len); connman_network_set_string(network, "WiFi.Mode", mode); -- 1.6.1.3 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman