From 532f91a58360d3c899be847eaaf571cea2b3e4f5 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 5 Sep 2018 16:07:55 +0200 Subject: [PATCH] hci: fix regression from f5e5741d1 that prevents creating connections --- src/hci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hci.c b/src/hci.c index 1f4497eeb..960b603b5 100644 --- a/src/hci.c +++ b/src/hci.c @@ -3582,8 +3582,8 @@ int hci_send_cmd_packet(uint8_t *packet, int size){ hci_emit_connection_complete(addr, conn->con_handle, 0); return -1; // packet not sent to controller case SEND_CREATE_CONNECTION: - // connection created by hci, e.g. dedicated bonding - return -1; // packet not sent to controller + // connection created by hci, e.g. dedicated bonding, but not executed yet, let's do it now + break; default: // otherwise, just ignore as it is already in the open process return -1; // packet not sent to controller