szymon-czapracki commented on code in PR #1833:
URL: https://github.com/apache/mynewt-nimble/pull/1833#discussion_r1730992102
##########
nimble/host/audio/services/bass/src/ble_audio_svc_bass.c:
##########
@@ -633,7 +636,12 @@ ble_svc_audio_bass_ctrl_point_write_access(struct
ble_gatt_access_ctxt *ctxt, ui
return BLE_ATT_ERR_WRITE_REQ_REJECTED;
}
- return handler->handler_cb(&ctxt->om->om_data[1], ctxt->om->om_len - 1,
conn_handle);
+ om = os_mbuf_pullup(ctxt->om, mbuf_len);
Review Comment:
Disregard om, use ctx->om
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]