szymon-czapracki commented on code in PR #2035:
URL: https://github.com/apache/mynewt-nimble/pull/2035#discussion_r2084233484
##########
apps/bttester/src/btp_gap.c:
##########
@@ -515,6 +515,10 @@ start_advertising(const void *cmd, uint16_t cmd_len,
#if MYNEWT_VAL(BLE_EXT_ADV)
adv_params.own_addr_type = own_addr_type;
+
+ if (sd_len != 0) {
Review Comment:
Changed condition to check for sd_len & legacy_pdu, as we don't always want
to set scannable to 0 if no sd data is present (ble_gap_ext_adv_configure will
result in an error).
--
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]