1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-04-01 22:20:58 +00:00

break after finding the correct channel. fixes issue - thanks to murerten for this fix

This commit is contained in:
matthias.ringwald 2010-09-10 19:35:51 +00:00
parent 1d51bd6346
commit 4e32727e89

@ -738,11 +738,13 @@ void l2cap_signaling_handler_dispatch( hci_con_handle_t handle, uint8_t * comman
// match odd commands by previous signaling identifier
if (channel->sig_id == sig_id) {
l2cap_signaling_handler_channel(channel, command);
break;
}
} else {
// match even commands by local channel id
if (channel->local_cid == dest_cid) {
l2cap_signaling_handler_channel(channel, command);
break;
}
}
}