[GitHub] [mynewt-nimble] jrotkiewicz commented on a diff in pull request #1271: L2CAP COC: added buffers for incoming SDU

2022-07-26 Thread GitBox
jrotkiewicz commented on code in PR #1271: URL: https://github.com/apache/mynewt-nimble/pull/1271#discussion_r929781378 ## nimble/host/src/ble_l2cap_coc.c: ## @@ -257,17 +265,19 @@ ble_l2cap_coc_rx_fn(struct ble_l2cap_chan *chan) rx->credits--; -if (OS_MBUF_PKTLEN(r

[GitHub] [mynewt-nimble] jrotkiewicz commented on a diff in pull request #1271: L2CAP COC: added buffers for incoming SDU

2022-07-26 Thread GitBox
jrotkiewicz commented on code in PR #1271: URL: https://github.com/apache/mynewt-nimble/pull/1271#discussion_r929781103 ## nimble/host/src/ble_l2cap_coc.c: ## @@ -582,7 +597,12 @@ ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_rx) return BLE_