summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}