This is an automated email from the ASF dual-hosted git repository. rymek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 77bca6bc8fcf9e9341c207eff5107b6af625c91d Author: Ćukasz Rymanowski <lukasz.rymanow...@codecoup.pl> AuthorDate: Thu Jan 2 12:23:34 2020 +0100 nimble/l2cap: Minor coding style fix --- 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 41a8315..54ea321 100644 --- a/nimble/host/src/ble_l2cap_coc.c +++ b/nimble/host/src/ble_l2cap_coc.c @@ -73,7 +73,7 @@ ble_l2cap_coc_create_server(uint16_t psm, uint16_t mtu, srv = ble_l2cap_coc_srv_alloc(); if (!srv) { - return BLE_HS_ENOMEM; + return BLE_HS_ENOMEM; } srv->psm = psm; @@ -453,7 +453,7 @@ ble_l2cap_coc_continue_tx(struct ble_l2cap_chan *chan) len - sdu_size_offset); if (rc) { BLE_HS_LOG(DEBUG, "Could not append data rc=%d", rc); - goto failed; + goto failed; } ble_hs_lock();