mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-25 00:02:27 +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;
|
if (!channel) continue;
|
||||||
|
|
||||||
// ERTM mode
|
// 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
|
// check if we can still send
|
||||||
if (channel->con_handle == HCI_CON_HANDLE_INVALID) continue;
|
if (channel->con_handle == HCI_CON_HANDLE_INVALID) continue;
|
||||||
@ -1745,7 +1745,6 @@ static void l2cap_run(void){
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user