From 621794abb520012aa40ea31c8952bb0468fa26c3 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Fri, 26 Jan 2018 14:45:36 +0800 Subject: [PATCH] Component/bt: fix bt load boned in smp --- components/bt/bluedroid/btc/core/btc_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/btc/core/btc_dm.c b/components/bt/bluedroid/btc/core/btc_dm.c index 6ec2b004fb..7e3ee2246d 100644 --- a/components/bt/bluedroid/btc/core/btc_dm.c +++ b/components/bt/bluedroid/btc/core/btc_dm.c @@ -426,8 +426,8 @@ void btc_dm_sec_cb_handler(btc_msg_t *msg) switch (msg->act) { case BTA_DM_ENABLE_EVT: { btc_clear_services_mask(); - btc_storage_load_bonded_devices(); #if (SMP_INCLUDED == TRUE) + btc_storage_load_bonded_devices(); //load the bonding device to the btm layer btc_storage_load_bonded_ble_devices(); #endif ///SMP_INCLUDED == TRUE