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
(parent:
580929d
)
Ensure updates of connected technologies for Ethernet
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 19 Jul 2009 19:14:53 +0000
(21:14 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 19 Jul 2009 19:14:53 +0000
(21:14 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
f841359
..
4de39d5
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-230,6
+230,18
@@
static int set_connected(struct connman_device *device,
CONNMAN_SERVICE_STATE_IDLE);
}
+ if (connected == TRUE) {
+ enum connman_service_type type;
+
+ type = __connman_device_get_service_type(device);
+ __connman_notifier_connect(type);
+ } else {
+ enum connman_service_type type;
+
+ type = __connman_device_get_service_type(device);
+ __connman_notifier_disconnect(type);
+ }
+
return 0;
}