projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
204217f
)
device: Notify technology when a scan has started or stopped
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 1 Feb 2012 14:43:57 +0000
(16:43 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 4 Feb 2012 00:15:35 +0000
(
01:15
+0100)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
e191194
..
e7568f6
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-837,6
+837,8
@@
int connman_device_set_scanning(struct connman_device *device,
device->scanning = scanning;
if (scanning == TRUE) {
+ __connman_technology_scan_started(device);
+
reset_scan_trigger(device);
g_hash_table_foreach(device->networks,
@@
-847,6
+849,8
@@
int connman_device_set_scanning(struct connman_device *device,
__connman_device_cleanup_networks(device);
+ __connman_technology_scan_stopped(device);
+
__connman_service_auto_connect();
return 0;