summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-05-04 15:24:35 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-04 16:17:44 +0300
commit85ad993eb7cfae216b3df72c1bf83e0d61078aa9 (patch)
tree1a155e60a25756603390e755c728f66976a3bebd /src
parent63416c37b9dba7536826ecdebdd4cab0af50d923 (diff)
downloadconnman-85ad993eb7cfae216b3df72c1bf83e0d61078aa9.tar.gz
connman-85ad993eb7cfae216b3df72c1bf83e0d61078aa9.tar.bz2
connman-85ad993eb7cfae216b3df72c1bf83e0d61078aa9.zip
network: Mark service as hidden after successfull connect
We must remember wifi service hidden status so that we can do active scan of its SSID and then autoconnect to it.
Diffstat (limited to 'src')
-rw-r--r--src/network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 55c49f18..10f1bf32 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1412,6 +1412,7 @@ int connman_network_connect_hidden(struct connman_network *network,
CONNMAN_SERVICE_ERROR_INVALID_KEY);
return err;
} else {
+ __connman_service_set_hidden(service);
__connman_service_set_userconnect(service, TRUE);
return __connman_service_connect(service);
}