From 8dbd61593e095dfe3914a7293165c4dd95b61bfc Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 25 Mar 2021 09:35:30 +0100 Subject: [PATCH] hci: reply to IO Capabilities request if not bondable, too. --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index b43280828..1fec518d5 100644 --- a/src/hci.c +++ b/src/hci.c @@ -2641,7 +2641,7 @@ static void event_handler(uint8_t *packet, uint16_t size){ hci_add_connection_flags_for_flipped_bd_addr(&packet[2], RECV_IO_CAPABILITIES_REQUEST); log_info("IO Capability Request received, stack bondable %u, io cap %u", hci_stack->bondable, hci_stack->ssp_io_capability); #ifndef ENABLE_EXPLICIT_IO_CAPABILITIES_REPLY - if (hci_stack->bondable && (hci_stack->ssp_io_capability != SSP_IO_CAPABILITY_UNKNOWN)){ + if (hci_stack->ssp_io_capability != SSP_IO_CAPABILITY_UNKNOWN){ hci_add_connection_flags_for_flipped_bd_addr(&packet[2], SEND_IO_CAPABILITIES_REPLY); } else { hci_add_connection_flags_for_flipped_bd_addr(&packet[2], SEND_IO_CAPABILITIES_NEGATIVE_REPLY);