mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/btdm_fix_BT_load_boned_in_smp_for_v30' into 'release/v3.0'
Component/bt: fix bt loads all the bonded devices in smp for v3.0 See merge request idf/esp-idf!1856
This commit is contained in:
commit
e1d965e4b9
@ -426,8 +426,8 @@ void btc_dm_sec_cb_handler(btc_msg_t *msg)
|
|||||||
switch (msg->act) {
|
switch (msg->act) {
|
||||||
case BTA_DM_ENABLE_EVT: {
|
case BTA_DM_ENABLE_EVT: {
|
||||||
btc_clear_services_mask();
|
btc_clear_services_mask();
|
||||||
btc_storage_load_bonded_devices();
|
|
||||||
#if (SMP_INCLUDED == TRUE)
|
#if (SMP_INCLUDED == TRUE)
|
||||||
|
btc_storage_load_bonded_devices();
|
||||||
//load the bonding device to the btm layer
|
//load the bonding device to the btm layer
|
||||||
btc_storage_load_bonded_ble_devices();
|
btc_storage_load_bonded_ble_devices();
|
||||||
#endif ///SMP_INCLUDED == TRUE
|
#endif ///SMP_INCLUDED == TRUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user