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:
3c5f31a
)
Call connect function if service is present
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 11:28:29 +0000
(12:28 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 11:28:29 +0000
(12:28 +0100)
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index
d519ac9
..
6b0b69a
100644
(file)
--- a/
plugins/bluetooth.c
+++ b/
plugins/bluetooth.c
@@
-87,6
+87,9
@@
static int bluetooth_init(void)
return -EIO;
}
+ if (g_dbus_check_service(connection, BLUEZ_SERVICE) == TRUE)
+ bluetooth_connect(connection, NULL);
+
return 0;
}