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
(parent:
aa487b5
)
device: Return -EOPNOTSUPP if the device does not support scanning
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 1 Feb 2012 14:43:54 +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 30b7589106912d5f24c17e0d6b8769e96e0dae1b..55a6d8e7c68029df2dd3d7a7d5de72440584f10f 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;