summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-15 11:13:53 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-18 08:00:52 (GMT)
commitc223c7fbca163f55eabe75af145c513137593eb5 (patch)
tree05d804aefd7bfb4e354716c1b463d2e66aafabc5 /plugins
parenta96a316731f4728cc42e119b43e938de1a6514f0 (diff)
downloadconnman-c223c7fbca163f55eabe75af145c513137593eb5.zip
connman-c223c7fbca163f55eabe75af145c513137593eb5.tar.gz
connman-c223c7fbca163f55eabe75af145c513137593eb5.tar.bz2
wifi: Use common scan callback handling
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wifi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 205fb95..3e48999 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -492,8 +492,7 @@ static void scan_callback_hidden(int result,
}
out:
- connman_device_set_scanning(device, FALSE);
- connman_device_unref(device);
+ scan_callback(result, interface, user_data);
}
static gboolean autoscan_timeout(gpointer data)