diff options
author | Ravi Nagarajan <nravi@broadcom.com> | 2012-10-03 07:45:45 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-10-03 16:51:35 -0700 |
commit | 81211b37366a69a284e05e74f160a0bef1265c47 (patch) | |
tree | 1477ec1d2ccd6cba5a76762b51a180c621f5b543 | |
parent | e17b17787c56975507b9081033c75b40d9ac8556 (diff) | |
download | external_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
-rwxr-xr-x | gki/ulinux/gki_ulinux.c | 1 |
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 |