controller: Minor comment fix Errata 6471 clarifies what AdvA shall be in Scan Resp and nimble does good. This errata is adopted into Bluetooth 5.0
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/07d7daaa Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/07d7daaa Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/07d7daaa Branch: refs/heads/bluetooth5 Commit: 07d7daaa065c6306b688718a25913a2e1ea52cad Parents: 646b35d Author: Åukasz Rymanowski <[email protected]> Authored: Mon Apr 10 12:11:25 2017 +0200 Committer: Åukasz Rymanowski <[email protected]> Committed: Mon Apr 10 14:56:23 2017 +0200 ---------------------------------------------------------------------- net/nimble/controller/src/ble_ll_adv.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/07d7daaa/net/nimble/controller/src/ble_ll_adv.c ---------------------------------------------------------------------- diff --git a/net/nimble/controller/src/ble_ll_adv.c b/net/nimble/controller/src/ble_ll_adv.c index 16455fd..9970b59 100644 --- a/net/nimble/controller/src/ble_ll_adv.c +++ b/net/nimble/controller/src/ble_ll_adv.c @@ -336,12 +336,11 @@ ble_ll_adv_scan_rsp_pdu_make(struct ble_ll_adv_sm *advsm) ble_ll_mbuf_init(m, pdulen, hdr); /* - * XXX: Am I sure this is correct? The adva in this packet will be the - * same one that was being advertised and is based on the peer identity - * address in the set advertising parameters. If a different peer sends - * us a scan request (for some reason) we will reply with an adva that - * was not generated based on the local irk of the peer sending the scan - * request. + * The adva in this packet will be the same one that was being advertised + * and is based on the peer identity address in the set advertising + * parameters. If a different peer sends us a scan request (for some reason) + * we will reply with an adva that was not generated based on the local irk + * of the peer sending the scan request. */ /* Construct scan response */
