summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Agren <magren@broadcom.com>2012-04-13 16:41:31 +0200
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:16 -0700
commitc0f2a0b5fc9e71518c4d12e7c8c3a86d7c65396c (patch)
treedebcc5fea58831a553fd71f6dc9e46c87c4c4850
parent8c75742a25906bd91a441d94fa529685f80de234 (diff)
downloadexternal_bluetooth_bluedroid-c0f2a0b5fc9e71518c4d12e7c8c3a86d7c65396c.zip
external_bluetooth_bluedroid-c0f2a0b5fc9e71518c4d12e7c8c3a86d7c65396c.tar.gz
external_bluetooth_bluedroid-c0f2a0b5fc9e71518c4d12e7c8c3a86d7c65396c.tar.bz2
Resolved bluetooth on/off issue due to incorrect sequencing of chip power off and
vendor lib cleanup. Change-Id: Ie4c4d06db38117175a1c53c9794d69b2f5147425
-rw-r--r--main/bte_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/bte_main.c b/main/bte_main.c
index 3cf6a96..8ac3ff5 100644
--- a/main/bte_main.c
+++ b/main/bte_main.c
@@ -233,8 +233,8 @@ void bte_main_disable(void)
if (bt_vendor_if)
{
- bt_vendor_if->set_power(BT_VENDOR_CHIP_PWR_OFF);
bt_vendor_if->cleanup();
+ bt_vendor_if->set_power(BT_VENDOR_CHIP_PWR_OFF);
}
}