l2cap: reduce level in l2cap_run for ertm handling

This commit is contained in:
Matthias Ringwald 2020-01-13 16:43:24 +01:00
parent 817374d931
commit 951d9d0781

View File

@ -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
} }