Skip to content

Modified bt_le_ext_adv_stop() to fix an issue in which BT Controller #90757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dwyoung43
Copy link

could return HCI errors because Zephyr code skipped sending BT_HCI_OP_LE_SET_EXT_ADV_ENABLE command to stop advertising. This happened because BT_ADV_ENABLED flag was cleared when BT_HCI_EVT_LE_ADV_SET_TERMINATED HCI event was received after a device connected Bluetooth. BT Controller still requires advertising to be stopped before it will allow advertising parameters to be changed.

could return HCI errors because Zephyr code skipped sending
BT_HCI_OP_LE_SET_EXT_ADV_ENABLE command to stop advertising. This
happened because BT_ADV_ENABLED flag was cleared when
BT_HCI_EVT_LE_ADV_SET_TERMINATED HCI event was received after a
device connected Bluetooth. BT Controller still requires advertising
to be stopped before it will allow advertising parameters to be changed.

Signed-off-by: Doug Young <dougyoung@meta.com>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants