Skip to content

Commit f7ca4ad

Browse files
Andrzej GłąbekChromeos LUCI
authored andcommitted
modules: openthread: ble: Update after BT_LE_ADV_CONN got deprecated
This is a follow-up to commit 8cfad44. Replace the deprecated BT_LE_ADV_CONN macro with BT_LE_ADV_CONN_FAST_2. (cherry picked from commit f930739) Original-Signed-off-by: Andrzej Głąbek <[email protected]> GitOrigin-RevId: f930739 Cr-Build-Id: 8724909411128659441 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8724909411128659441 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I5bfcc2941e33f611435850ef10cd25e964400cb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6196367 Tested-by: ChromeOS Prod (Robot) <[email protected]> Bot-Commit: ChromeOS Prod (Robot) <[email protected]> Commit-Queue: ChromeOS Prod (Robot) <[email protected]>
1 parent 8d2b527 commit f7ca4ad

File tree

1 file changed

+1
-1
lines changed
  • modules/openthread/platform

1 file changed

+1
-1
lines changed

modules/openthread/platform/ble.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ otError otPlatBleGapAdvStart(otInstance *aInstance, uint16_t aInterval)
438438
ARG_UNUSED(aInstance);
439439
ARG_UNUSED(aInterval);
440440

441-
int err = bt_le_adv_start(BT_LE_ADV_CONN, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd));
441+
int err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_2, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd));
442442

443443
if (err != 0 && err != -EALREADY) {
444444
LOG_WRN("Advertising failed to start (err %d)", err);

0 commit comments

Comments
 (0)