summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-06-15 16:00:21 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-18 10:57:08 +0300
commitfc41a18566f0bb753fd8ce35873d1442942f464c (patch)
treef198bceea5eac8f186f15fd13eae23b9c1e13b11 /include/device.h
parent3ca789e446848eed6ca3c00af080cd737d115dcb (diff)
downloadconnman-fc41a18566f0bb753fd8ce35873d1442942f464c.tar.gz
connman-fc41a18566f0bb753fd8ce35873d1442942f464c.tar.bz2
connman-fc41a18566f0bb753fd8ce35873d1442942f464c.zip
service: Connecting hidden network waits until connected
If the user is connecting to hidden network, then we delay the return of the reply to caller until the real service has connected. This way the user connect to hidden and non-hidden networks works the same way from caller point of view.
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/device.h b/include/device.h
index 11416204..f787cf48 100644
--- a/include/device.h
+++ b/include/device.h
@@ -120,7 +120,8 @@ struct connman_device_driver {
int (*scan_fast) (struct connman_device *device);
int (*scan_hidden)(struct connman_device *device,
const char *ssid, unsigned int ssid_len,
- const char *identity, const char* passphrase);
+ const char *identity, const char* passphrase,
+ void *user_data);
};
int connman_device_driver_register(struct connman_device_driver *driver);