device: Remove the scheduled scan method
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 23 Apr 2012 08:22:20 +0000 (11:22 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 23 Apr 2012 11:03:24 +0000 (14:03 +0300)
wifi was the only one using it, and this is replaced by the combination of
bgscan and autoscan.

include/device.h
src/device.c

index 54beb65..c4d9b6e 100644 (file)
@@ -101,8 +101,6 @@ int connman_device_remove_network(struct connman_device *device,
                                        struct connman_network *network);
 void connman_device_remove_all_networks(struct connman_device *device);
 
-void connman_device_schedule_scan(struct connman_device *device);
-
 int connman_device_register(struct connman_device *device);
 void connman_device_unregister(struct connman_device *device);
 
index 0a3c690..6d899fe 100644 (file)
@@ -137,11 +137,6 @@ static void force_scan_trigger(struct connman_device *device)
                                        device_scan_trigger, device);
 }
 
-void connman_device_schedule_scan(struct connman_device *device)
-{
-       reset_scan_trigger(device);
-}
-
 static const char *type2description(enum connman_device_type type)
 {
        switch (type) {