Skip to content

Commit

Permalink
applications: nrf5340_audio: Remove double adv start
Browse files Browse the repository at this point in the history
- Remove double adv start after directed adv times out
- OCT-NONE

Signed-off-by: Alexander Svensen <[email protected]>
  • Loading branch information
alexsven authored and rlubos committed Jun 4, 2024
1 parent 6881ad0 commit 0411564
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ static void connected_cb(struct bt_conn *conn, uint8_t err)
LOG_INF("Directed adv timed out with no connection, reverting to normal adv");

bt_mgmt_dir_adv_timed_out(0);

ret = bt_mgmt_adv_start(0, NULL, 0, NULL, 0, true);
if (ret) {
LOG_ERR("Failed to restart advertising: %d", ret);
}

return;
}

Expand Down

0 comments on commit 0411564

Please sign in to comment.