diff options
author | Martin Xu <martin.xu@intel.com> | 2009-07-14 18:08:22 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-14 12:28:22 +0200 |
commit | e08a0998784d96326ce4f632b094ab017cb9bd7e (patch) | |
tree | dd82982c9182780df325c4a384ecc5e2f316e955 /plugins | |
parent | c9699c0bd3036f267ba62b915dbe10fbdf5b02db (diff) | |
download | connman-e08a0998784d96326ce4f632b094ab017cb9bd7e.tar.gz connman-e08a0998784d96326ce4f632b094ab017cb9bd7e.tar.bz2 connman-e08a0998784d96326ce4f632b094ab017cb9bd7e.zip |
Do not set group name when network is hidden
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/supplicant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index 4d6f96de..987e0095 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1301,7 +1301,8 @@ static void properties_reply(DBusPendingCall *call, void *user_data) connman_network_set_uint16(network, "WiFi.Channel", channel); connman_network_set_string(network, "WiFi.Security", security); - connman_network_set_group(network, group); + if (result.ssid != NULL) + connman_network_set_group(network, group); done: g_free(group); |