diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-08-21 13:38:04 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-08-23 14:19:14 +0300 |
commit | 3a8be9689f01e359a3325b1a9afbfb653883aed1 (patch) | |
tree | 20f6837405f9b5bd65ef0b1331b34f7e181619e1 /include | |
parent | 7e151a7520740b586fe4f2adad1aa21864ef5321 (diff) | |
download | connman-3a8be9689f01e359a3325b1a9afbfb653883aed1.tar.gz connman-3a8be9689f01e359a3325b1a9afbfb653883aed1.tar.bz2 connman-3a8be9689f01e359a3325b1a9afbfb653883aed1.zip |
device: Refactor device scan function
In wifi plugin this means that we combine three wifi scan
functions (normal, fast, hidden) into one scan function.
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/device.h b/include/device.h index d066296f..5339e98b 100644 --- a/include/device.h +++ b/include/device.h @@ -121,9 +121,7 @@ struct connman_device_driver { void (*remove) (struct connman_device *device); int (*enable) (struct connman_device *device); int (*disable) (struct connman_device *device); - int (*scan) (struct connman_device *device); - int (*scan_fast) (struct connman_device *device); - int (*scan_hidden)(struct connman_device *device, + int (*scan)(struct connman_device *device, const char *ssid, unsigned int ssid_len, const char *identity, const char* passphrase, void *user_data); |