mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-02 13:27:21 +00:00
l2cap/coc: more style fixes
This commit is contained in:
committed by
Hauke Petersen
parent
e3aed1753d
commit
cf8e8125fd
@@ -469,12 +469,12 @@ ble_l2cap_coc_continue_tx(struct ble_l2cap_chan *chan)
|
|||||||
txom = NULL;
|
txom = NULL;
|
||||||
goto failed;
|
goto failed;
|
||||||
} else {
|
} else {
|
||||||
tx->credits --;
|
tx->credits--;
|
||||||
tx->data_offset += len - sdu_size_offset;
|
tx->data_offset += len - sdu_size_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
BLE_HS_LOG(DEBUG, "Sent %d bytes, credits=%d, to send %d bytes \n",
|
BLE_HS_LOG(DEBUG, "Sent %d bytes, credits=%d, to send %d bytes \n",
|
||||||
len, tx->credits, OS_MBUF_PKTLEN(tx->sdu)- tx->data_offset );
|
len, tx->credits, OS_MBUF_PKTLEN(tx->sdu)- tx->data_offset);
|
||||||
|
|
||||||
if (tx->data_offset == OS_MBUF_PKTLEN(tx->sdu)) {
|
if (tx->data_offset == OS_MBUF_PKTLEN(tx->sdu)) {
|
||||||
BLE_HS_LOG(DEBUG, "Complete package sent\n");
|
BLE_HS_LOG(DEBUG, "Complete package sent\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user