mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
remove additional incorrect check
This commit is contained in:
parent
ab169afff3
commit
9a9c32e4a1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user