projects
/
framework
/
connectivity
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wifi: Add support to multi scan type
[framework/connectivity/connman.git]
/
src
/
device.c
diff --git
a/src/device.c
b/src/device.c
index
28ecfbd
..
b4bf284
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-688,7
+688,9
@@
int connman_device_set_powered(struct connman_device *device,
reset_scan_trigger(device);
reset_scan_trigger(device);
- if (device->driver && device->driver->scan)
+ if (device->driver && device->driver->scan_fast)
+ device->driver->scan_fast(device);
+ else if (device->driver && device->driver->scan)
device->driver->scan(device);
return 0;
device->driver->scan(device);
return 0;