This is an automated email from the ASF dual-hosted git repository. janc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit e33120e6439b454af3be846495f2babac23bf0f9 Author: Szymon Janc <[email protected]> AuthorDate: Wed Dec 10 15:45:47 2025 +0100 nimble/host: Minor L2CAP code style fixes Follow coding style regarding functions bracets. --- nimble/host/src/ble_l2cap_coc_priv.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/nimble/host/src/ble_l2cap_coc_priv.h b/nimble/host/src/ble_l2cap_coc_priv.h index 673530324..4fbaac92b 100644 --- a/nimble/host/src/ble_l2cap_coc_priv.h +++ b/nimble/host/src/ble_l2cap_coc_priv.h @@ -77,7 +77,8 @@ int ble_l2cap_coc_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx); void ble_l2cap_coc_set_new_mtu_mps(struct ble_l2cap_chan *chan, uint16_t mtu, uint16_t mps); #else static inline int -ble_l2cap_coc_init(void) { +ble_l2cap_coc_init(void) +{ return 0; } @@ -95,17 +96,18 @@ ble_l2cap_coc_remove_server_nolock(uint16_t psm) } static inline int -ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan, - struct os_mbuf *sdu_rx) { +ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_rx) +{ return BLE_HS_ENOTSUP; } static inline void -ble_l2cap_coc_cleanup_chan(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan) { -} +ble_l2cap_coc_cleanup_chan(struct ble_hs_conn *conn, struct ble_l2cap_chan *chan) +{} static inline int -ble_l2cap_coc_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx) { +ble_l2cap_coc_send(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_tx) +{ return BLE_HS_ENOTSUP; } #endif
