diff options
author | Martin Xu <martin.xu@intel.com> | 2009-08-13 10:18:50 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-12 19:29:43 -0700 |
commit | 9b61bf42029ca36c2f61724eefd0e7e72079ca9d (patch) | |
tree | 4ead6c2e80c493e1caf2cc6107d38d877a93264f | |
parent | e55a33d8a3902c425757724c8704e0e1c1ad5c1a (diff) | |
download | connman-9b61bf42029ca36c2f61724eefd0e7e72079ca9d.tar.gz connman-9b61bf42029ca36c2f61724eefd0e7e72079ca9d.tar.bz2 connman-9b61bf42029ca36c2f61724eefd0e7e72079ca9d.zip |
Clear SSID when network restore back to hidden
-rw-r--r-- | plugins/supplicant.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index a2cf1fc1..489fe886 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1337,10 +1337,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); - if (connman_network_get_blob(network, "WiFi.SSID", &ssid_len) == NULL) { - connman_network_set_blob(network, "WiFi.SSID", - result.ssid, result.ssid_len); - } + connman_network_set_blob(network, "WiFi.SSID", + result.ssid, result.ssid_len); connman_network_set_string(network, "WiFi.Mode", mode); |