Skip to content

Bluetooth: Controller: Add code comments related to short prepare#97863

Merged
kartben merged 1 commit intozephyrproject-rtos:mainfrom
cvinayak:github_short_prepare_comments
Oct 23, 2025
Merged

Bluetooth: Controller: Add code comments related to short prepare#97863
kartben merged 1 commit intozephyrproject-rtos:mainfrom
cvinayak:github_short_prepare_comments

Conversation

@cvinayak
Copy link
Contributor

Add code comments explaining the handling of short prepare that can be enqueued out of order and present in use of FIFO for prepare pipeline.

Add code comments explaining the handling of short prepare
that can be enqueued out of order and present in use of FIFO
for prepare pipeline.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
@cvinayak cvinayak marked this pull request as ready for review October 19, 2025 07:15
@cvinayak cvinayak added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 19, 2025
@cvinayak cvinayak added this to the v4.3.0 milestone Oct 23, 2025
* timeout, refer to `preempt_ticker_start()` for details.
*
* We also set the `ready` to NULL as it is the same ready, the one
* being enqueued. This help short circuit a related assertion check
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* being enqueued. This help short circuit a related assertion check
* being enqueued. This helps short circuit a related assertion check
* being enqueued. This help short circuit a related assertion check
* later in this function.
*/
ready = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would not be just a comment then :)

@kartben kartben merged commit d737e28 into zephyrproject-rtos:main Oct 23, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Controller area: Bluetooth Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

5 participants