mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci: fix reading whitelist size
This commit is contained in:
parent
b95a5a357a
commit
e691bb38f1
@ -1532,7 +1532,7 @@ static void event_handler(uint8_t *packet, int size){
|
||||
}
|
||||
#ifdef ENABLE_LE_CENTRAL
|
||||
if (HCI_EVENT_IS_COMMAND_COMPLETE(packet, hci_le_read_white_list_size)){
|
||||
hci_stack->le_whitelist_capacity = little_endian_read_16(packet, 6);
|
||||
hci_stack->le_whitelist_capacity = packet[6];
|
||||
log_info("hci_le_read_white_list_size: size %u", hci_stack->le_whitelist_capacity);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user