mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 20:42:47 +00:00
l2cap: reduce level in l2cap_run for ertm handling
This commit is contained in:
parent
817374d931
commit
951d9d0781
@ -1681,7 +1681,7 @@ static void l2cap_run(void){
|
||||
if (!channel) continue;
|
||||
|
||||
// ERTM mode
|
||||
if (channel->mode == L2CAP_CHANNEL_MODE_ENHANCED_RETRANSMISSION){
|
||||
if (channel->mode != L2CAP_CHANNEL_MODE_ENHANCED_RETRANSMISSION) continue;
|
||||
|
||||
// check if we can still send
|
||||
if (channel->con_handle == HCI_CON_HANDLE_INVALID) continue;
|
||||
@ -1745,7 +1745,6 @@ static void l2cap_run(void){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user