From cf8e8125fd2428adffd78ef0ea03fdae4faec88c Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 4 Jun 2020 17:30:03 +0200 Subject: [PATCH] l2cap/coc: more style fixes --- nimble/host/src/ble_l2cap_coc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nimble/host/src/ble_l2cap_coc.c b/nimble/host/src/ble_l2cap_coc.c index 411c35c4d..bbce1df43 100644 --- a/nimble/host/src/ble_l2cap_coc.c +++ b/nimble/host/src/ble_l2cap_coc.c @@ -469,12 +469,12 @@ ble_l2cap_coc_continue_tx(struct ble_l2cap_chan *chan) txom = NULL; goto failed; } else { - tx->credits --; + tx->credits--; tx->data_offset += len - sdu_size_offset; } 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)) { BLE_HS_LOG(DEBUG, "Complete package sent\n");