From 3a8be9689f01e359a3325b1a9afbfb653883aed1 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Tue, 21 Aug 2012 13:38:04 +0300 Subject: device: Refactor device scan function In wifi plugin this means that we combine three wifi scan functions (normal, fast, hidden) into one scan function. --- include/device.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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); -- cgit v1.2.3