summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-23 21:50:58 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-23 21:50:58 +0200
commit550cb61cae9ee166b8f3b2dbc91cce936c4f5fa9 (patch)
tree3304dfe67ce9bbc11cb2ca3fe0d3f8a1e413686b /src/connection.c
parent0fe4913a3ce3b10e6c3e3f8391596800e4239983 (diff)
downloadconnman-550cb61cae9ee166b8f3b2dbc91cce936c4f5fa9.tar.gz
connman-550cb61cae9ee166b8f3b2dbc91cce936c4f5fa9.tar.bz2
connman-550cb61cae9ee166b8f3b2dbc91cce936c4f5fa9.zip
Fix signals for connected and default technologies
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index 7c81c0d2..f722cc36 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -538,9 +538,11 @@ static int connection_probe(struct connman_element *element)
if (register_interface(element) < 0)
return -ENODEV;
+
service = __connman_element_get_service(element);
__connman_service_indicate_state(service,
CONNMAN_SERVICE_STATE_READY);
+
connman_element_set_enabled(element, TRUE);
emit_default_signal(element);