From 9a9c32e4a1ccc0d22967b4f95564a3e5854f9199 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Wed, 29 Oct 2014 12:06:51 +0000 Subject: [PATCH] remove additional incorrect check --- src/bnep.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bnep.c b/src/bnep.c index 8f9236c37..25e3fa522 100644 --- a/src/bnep.c +++ b/src/bnep.c @@ -986,11 +986,6 @@ static int bnep_hci_event_handler(uint8_t *packet, uint16_t size) if (channel->state == BNEP_CHANNEL_STATE_CLOSED) { log_info("L2CAP_EVENT_CHANNEL_OPENED: outgoing connection"); - /* Check for the correct remote address */ - if (BD_ADDR_CMP(event_addr, channel->remote_addr)) { - break; - } - /* Assign connection handle and l2cap cid */ channel->l2cap_cid = l2cap_cid; channel->con_handle = con_handle;