Merge branch 'bugfix/btdm_fix_BT_load_boned_in_smp' into 'master'

Component/bt: fix bt load boned in smp

See merge request !1854
pull/1530/merge
Jiang Jiang Jian 2018-01-26 20:34:24 +08:00
commit 4cbc0198a0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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