OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b0003
)
android: Make system-emulator start daemon only once
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 1 Nov 2013 13:07:42 +0000
(06:07 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 1 Nov 2013 13:07:42 +0000
(06:07 -0700)
android/system-emulator.c
patch
|
blob
|
history
diff --git
a/android/system-emulator.c
b/android/system-emulator.c
index
7d17546
..
24f2741
100644
(file)
--- a/
android/system-emulator.c
+++ b/
android/system-emulator.c
@@
-98,6
+98,9
@@
static void system_socket_callback(int fd, uint32_t events, void *user_data)
if (strcmp(buf, "ctl.start=bluetoothd"))
return;
+ if (daemon_pid > 0)
+ return;
+
ctl_start();
}