diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-04-23 11:22:20 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-04-23 14:03:24 +0300 |
commit | 715f77598c22021e5cf1c1f0a19408aacf2f0ada (patch) | |
tree | 2ce48e5a74822dbe02415c2f74e908489ee3ff5f | |
parent | 0174a8265e3a7ca6f37aacf354b129f013c97194 (diff) | |
download | connman-715f77598c22021e5cf1c1f0a19408aacf2f0ada.tar.gz connman-715f77598c22021e5cf1c1f0a19408aacf2f0ada.tar.bz2 connman-715f77598c22021e5cf1c1f0a19408aacf2f0ada.zip |
device: Remove the scheduled scan method
wifi was the only one using it, and this is replaced by the combination of
bgscan and autoscan.
-rw-r--r-- | include/device.h | 2 | ||||
-rw-r--r-- | src/device.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/device.h b/include/device.h index 54beb65d..c4d9b6eb 100644 --- a/include/device.h +++ b/include/device.h @@ -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); diff --git a/src/device.c b/src/device.c index 0a3c6908..6d899fea 100644 --- a/src/device.c +++ b/src/device.c @@ -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) { |