This is an automated email from the ASF dual-hosted git repository. ccollins pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push: new 377842d nimble/gap: Solving bug in accessing ble_svc_gap_appearance 377842d is described below commit 377842d8b430a20e3ae63f3443d56385564c2945 Author: Mohamed Essayed <mohamed.essa...@synopsys.com> AuthorDate: Thu Sep 5 20:24:09 2019 +0200 nimble/gap: Solving bug in accessing ble_svc_gap_appearance --- nimble/host/services/gap/src/ble_svc_gap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/services/gap/src/ble_svc_gap.c b/nimble/host/services/gap/src/ble_svc_gap.c index 7a1e76f..e79b2b8 100644 --- a/nimble/host/services/gap/src/ble_svc_gap.c +++ b/nimble/host/services/gap/src/ble_svc_gap.c @@ -161,7 +161,7 @@ ble_svc_gap_appearance_write_access(struct ble_gatt_access_ctxt *ctxt) return BLE_ATT_ERR_INVALID_ATTR_VALUE_LEN; } - rc = ble_hs_mbuf_to_flat(ctxt->om, ble_svc_gap_appearance, om_len, NULL); + rc = ble_hs_mbuf_to_flat(ctxt->om, &ble_svc_gap_appearance, om_len, NULL); if (rc != 0) { return BLE_ATT_ERR_UNLIKELY; }