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:
d8c3723
)
android/hal-ipc: Fix missing mutex unlock
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 20 May 2014 10:33:09 +0000
(12:33 +0200)
committer
Szymon Janc
<szymon.janc@tieto.com>
Thu, 12 Jun 2014 11:04:30 +0000
(13:04 +0200)
This is a preparation for destroy callback.
android/hal-ipc.c
patch
|
blob
|
history
diff --git
a/android/hal-ipc.c
b/android/hal-ipc.c
index
81d3a1b
..
ee3a04c
100644
(file)
--- a/
android/hal-ipc.c
+++ b/
android/hal-ipc.c
@@
-366,6
+366,7
@@
int hal_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len, void *param,
/* socket was shutdown */
if (ret == 0) {
error("Command socket closed, aborting");
+ pthread_mutex_unlock(&cmd_sk_mutex);
exit(EXIT_FAILURE);
}