summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-11-26 09:11:28 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-11-26 09:11:28 +0100
commitcad4b718dd764984b1fb917dd255958adab64680 (patch)
tree35c0745ddc73f183c2d9c0c1f4d6c5d8a16a63ee /src
parent8124bef495c1ad04d1f6e8ed190abf984b356ed9 (diff)
downloadconnman-cad4b718dd764984b1fb917dd255958adab64680.tar.gz
connman-cad4b718dd764984b1fb917dd255958adab64680.tar.bz2
connman-cad4b718dd764984b1fb917dd255958adab64680.zip
Add device function for scheduling a scan
Diffstat (limited to 'src')
-rw-r--r--src/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 41eb07c0..fbc72955 100644
--- a/src/device.c
+++ b/src/device.c
@@ -115,6 +115,11 @@ 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) {