projects
/
framework
/
connectivity
/
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:
cc8ce72
)
device: Remove redundant connection numbers check
author
Danny Jeongseok Seo
<s.seo@samsung.com>
Thu, 6 Oct 2011 02:07:34 +0000
(11:07 +0900)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 6 Oct 2011 09:44:47 +0000
(11:44 +0200)
__connman_service_auto_connect() already checks for service state, so there
is no need to look at the device being connected or not.
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
b4bf284
..
b830688
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-829,9
+829,6
@@
int connman_device_set_scanning(struct connman_device *device,
__connman_device_cleanup_networks(device);
- if (device->connections > 0)
- return 0;
-
__connman_service_auto_connect();
return 0;