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:
878564f
)
android/hal-audio: Don't try to unregister endpoints on handler exit
author
Szymon Janc
<szymon.janc@tieto.com>
Thu, 23 Jan 2014 15:22:28 +0000
(16:22 +0100)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Thu, 23 Jan 2014 17:56:35 +0000
(19:56 +0200)
audio_sk is already closed at this point so just cleanup any leftovers
in enpoints states.
android/hal-audio.c
patch
|
blob
|
history
diff --git
a/android/hal-audio.c
b/android/hal-audio.c
index
52f8894
..
6104183
100644
(file)
--- a/
android/hal-audio.c
+++ b/
android/hal-audio.c
@@
-1378,7
+1378,8
@@
static void *ipc_handler(void *data)
}
}
- unregister_endpoints();
+ /* audio_sk is closed at this point, just cleanup endpoints states */
+ memset(audio_endpoints, 0, sizeof(audio_endpoints));
info("Closing Audio IPC thread");
return NULL;