mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
don't block l2cap credits intended for the client if rfcomm send blocks temporarily - creates deadlock otherwise
This commit is contained in:
parent
5a00087a13
commit
fe868c3f89
@ -341,9 +341,6 @@ static int daemon_client_handler(connection_t *connection, uint16_t packet_type,
|
||||
case RFCOMM_DATA_PACKET:
|
||||
// process l2cap packet...
|
||||
err = rfcomm_send_internal(channel, data, length);
|
||||
if (err == BTSTACK_ACL_BUFFERS_FULL) {
|
||||
l2cap_block_new_credits(1);
|
||||
}
|
||||
break;
|
||||
case DAEMON_EVENT_PACKET:
|
||||
switch (data[0]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user