projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: Return -EOPNOTSUPP if the device does not support scanning
[platform/upstream/connman.git]
/
src
/
device.c
diff --git
a/src/device.c
b/src/device.c
index
30b7589
..
55a6d8e
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1171,7
+1171,7
@@
int __connman_device_request_scan(enum connman_service_type type)
case CONNMAN_SERVICE_TYPE_GPS:
case CONNMAN_SERVICE_TYPE_VPN:
case CONNMAN_SERVICE_TYPE_GADGET:
- return
0
;
+ return
-EOPNOTSUPP
;
case CONNMAN_SERVICE_TYPE_WIFI:
case CONNMAN_SERVICE_TYPE_WIMAX:
break;