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 /plugins/iwmx.c | |
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 'plugins/iwmx.c')
-rw-r--r-- | plugins/iwmx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/iwmx.c b/plugins/iwmx.c index 7c1e792c..c936706a 100644 --- a/plugins/iwmx.c +++ b/plugins/iwmx.c @@ -534,7 +534,10 @@ static void iwmx_cm_remove(struct connman_device *dev) * First we obtain the current list of networks and pass it to the * callback processor. Then we start an scan cycle. */ -static int iwmx_cm_scan(struct connman_device *dev) +static int iwmx_cm_scan(struct connman_device *dev, + const char *ssid, unsigned int ssid_len, + const char *identity, const char* passphrase, + void *user_data) { struct wmxsdk *wmxsdk = connman_device_get_data(dev); return iwmx_sdk_scan(wmxsdk); |