From 6d20306ac7c53686bec2e6291d9594a924b0aaae Mon Sep 17 00:00:00 2001 From: Ravi Nagarajan Date: Wed, 3 Oct 2012 07:45:45 -0700 Subject: Fix for timer thread stuck on BT OFF Wake up with timer_thread on BT OFF bug 7266585 Change-Id: Id4ff27b94fc1e7f38b9c6861cb325e3d33ea91ce --- gki/ulinux/gki_ulinux.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1