sm: init le_device_db from sm_init

This commit is contained in:
Matthias Ringwald 2019-05-01 18:08:22 +02:00
parent ba394633cf
commit 51bd74d1a8

View File

@ -3913,6 +3913,9 @@ void sm_init(void){
//
btstack_crypto_init();
// init le_device_db
le_device_db_init();
// and L2CAP PDUs + L2CAP_EVENT_CAN_SEND_NOW
l2cap_register_fixed_channel(sm_pdu_handler, L2CAP_CID_SECURITY_MANAGER_PROTOCOL);