From: zhiweijian Date: Fri, 26 Jan 2018 06:38:54 +0000 (+0800) Subject: Component/bt: fix bt load boned in smp X-Git-Tag: v3.1-beta1~443^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41f338d23c192c15bb1355209f1f7c5ba2c8d7fa;p=esp-idf Component/bt: fix bt load boned in smp --- diff --git a/components/bt/bluedroid/btc/core/btc_dm.c b/components/bt/bluedroid/btc/core/btc_dm.c index 9c74a8abf2..1f6322b86f 100644 --- a/components/bt/bluedroid/btc/core/btc_dm.c +++ b/components/bt/bluedroid/btc/core/btc_dm.c @@ -429,8 +429,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