summaryrefslogtreecommitdiffstats
path: root/gki
diff options
context:
space:
mode:
authorRavi Nagarajan <nravi@broadcom.com>2012-10-03 07:45:45 -0700
committerMatthew Xie <mattx@google.com>2012-10-03 16:51:35 -0700
commit81211b37366a69a284e05e74f160a0bef1265c47 (patch)
tree1477ec1d2ccd6cba5a76762b51a180c621f5b543 /gki
parente17b17787c56975507b9081033c75b40d9ac8556 (diff)
downloadexternal_bluetooth_bluedroid-81211b37366a69a284e05e74f160a0bef1265c47.zip
external_bluetooth_bluedroid-81211b37366a69a284e05e74f160a0bef1265c47.tar.gz
external_bluetooth_bluedroid-81211b37366a69a284e05e74f160a0bef1265c47.tar.bz2
Fix for timer thread stuck on BT OFF
Wake up with timer_thread on BT OFF bug 7266585 Change-Id: Id4ff27b94fc1e7f38b9c6861cb325e3d33ea91ce
Diffstat (limited to 'gki')
-rwxr-xr-xgki/ulinux/gki_ulinux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gki/ulinux/gki_ulinux.c b/gki/ulinux/gki_ulinux.c
index 4d30bbb..97a7f41 100755
--- a/gki/ulinux/gki_ulinux.c
+++ b/gki/ulinux/gki_ulinux.c
@@ -760,6 +760,7 @@ void GKI_freeze()
{
#ifdef NO_GKI_RUN_RETURN
shutdown_timer = 1;
+ pthread_mutex_unlock( &gki_cb.os.gki_timer_mutex );
/* Ensure that the timer thread exits */
pthread_join(timer_thread_id, NULL);
#endif