summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-04-09 20:09:44 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:15 -0700
commitb5dc70a1f69f8607f28956cf4bbe94e6183e982f (patch)
tree7815fa8e719025afb025885e18a68c9d56a6c6c4 /main
parentee20641263a5f34fe6c8dab176d95e07243657b1 (diff)
downloadexternal_bluetooth_bluedroid-b5dc70a1f69f8607f28956cf4bbe94e6183e982f.zip
external_bluetooth_bluedroid-b5dc70a1f69f8607f28956cf4bbe94e6183e982f.tar.gz
external_bluetooth_bluedroid-b5dc70a1f69f8607f28956cf4bbe94e6183e982f.tar.bz2
To improve enable/disable stability, ensure that GKI buffer pool gets
reset/reclaimed after every enable/disable cycle Change-Id: Ifc84b9bdaefa91096fe3da369d31884bbac8eaa0
Diffstat (limited to 'main')
-rw-r--r--main/bte_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/bte_main.c b/main/bte_main.c
index 7707d48..3cf6a96 100644
--- a/main/bte_main.c
+++ b/main/bte_main.c
@@ -143,9 +143,6 @@ void bte_main_in_hw_init(void)
******************************************************************************/
void bte_main_boot_entry(void)
{
- /* initialize OS */
- GKI_init();
-
bte_main_in_hw_init();
bte_load_conf(BTE_STACK_CONF_FILE);
@@ -173,7 +170,7 @@ void bte_main_shutdown()
bt_vendor_if->cleanup();
#endif
- bt_vendor_if = NULL;
+ //bt_vendor_if = NULL;
GKI_shutdown();
}