You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ha...@apache.org on 2020/06/11 06:49:26 UTC

[mynewt-nimble] 03/03: l2cap/coc: more style fixes

This is an automated email from the ASF dual-hosted git repository.

hauke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit cf8e8125fd2428adffd78ef0ea03fdae4faec88c
Author: Hauke Petersen <ha...@fu-berlin.de>
AuthorDate: Thu Jun 4 17:30:03 2020 +0200

    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 411c35c..bbce1df 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");