summaryrefslogtreecommitdiff
path: root/android/hal-ipc.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-01-17 16:30:42 +0100
committerSzymon Janc <szymon.janc@gmail.com>2014-01-17 20:41:45 +0100
commit89008b789f27659a7035fc50e57d952b1cba43cb (patch)
treeed1f03074d51324b3b11712f4533719fa8ad6f19 /android/hal-ipc.c
parent72c77073a44a2452e130fc2ca9f15dcd2256c656 (diff)
downloadbluez-89008b789f27659a7035fc50e57d952b1cba43cb.tar.gz
android/hal: Update property used for start/stop services
Diffstat (limited to 'android/hal-ipc.c')
-rw-r--r--android/hal-ipc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/android/hal-ipc.c b/android/hal-ipc.c
index 97f1bcd92..99ba38e12 100644
--- a/android/hal-ipc.c
+++ b/android/hal-ipc.c
@@ -34,7 +34,6 @@
#include "hal-ipc.h"
#define CONNECT_TIMEOUT (5 * 1000)
-#define SERVICE_NAME "bluetoothd"
static int cmd_sk = -1;
static int notif_sk = -1;
@@ -259,8 +258,8 @@ bool hal_ipc_init(void)
}
/* Start Android Bluetooth daemon service */
- if (property_set("ctl.start", SERVICE_NAME) < 0) {
- error("Failed to start service %s", SERVICE_NAME);
+ if (property_set("bluetooth.start", "daemon") < 0) {
+ error("Failed to set bluetooth.start=daemon");
close(sk);
return false;
}