Component/bt: fix bt load boned in smp

This commit is contained in:
zhiweijian 2018-01-26 14:38:54 +08:00
parent 5b1f869880
commit 41f338d23c

View file

@ -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