mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-01 03:32:47 +00:00
hci: fix build without ENABLE_CLASSIC_PAIRING_OOB
This commit is contained in:
parent
cb439cf1f2
commit
1e7371ded8
@ -442,10 +442,12 @@ static void hci_pairing_complete(hci_connection_t * hci_connection, uint8_t stat
|
||||
hci_connection->requested_security_level = LEVEL_0;
|
||||
if (!hci_pairing_active(hci_connection)) return;
|
||||
hci_connection->authentication_flags &= ~AUTH_FLAG_PAIRING_ACTIVE_MASK;
|
||||
#ifdef ENABLE_CLASSIC_PAIRING_OOB
|
||||
hci_connection->classic_oob_c_192 = NULL;
|
||||
hci_connection->classic_oob_r_192 = NULL;
|
||||
hci_connection->classic_oob_c_256 = NULL;
|
||||
hci_connection->classic_oob_r_256 = NULL;
|
||||
#endif
|
||||
log_info("pairing complete, status %02x", status);
|
||||
|
||||
uint8_t event[12];
|
||||
|
Loading…
x
Reference in New Issue
Block a user