mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
sm: fix build without ctkd
This commit is contained in:
parent
17ab8643d5
commit
bad51150f2
@ -4902,9 +4902,11 @@ void sm_init(void){
|
||||
hci_event_callback_registration.callback = &sm_event_packet_handler;
|
||||
hci_add_event_handler(&hci_event_callback_registration);
|
||||
|
||||
#ifdef ENABLE_CROSS_TRANSPORT_KEY_DERIVATION
|
||||
// register for L2CAP events
|
||||
l2cap_event_callback_registration.callback = &sm_event_packet_handler;
|
||||
l2cap_add_event_handler(&l2cap_event_callback_registration);
|
||||
#endif
|
||||
|
||||
//
|
||||
btstack_crypto_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user