fix(BLE): Defer sending ARQ_Q_FLUSH until after llcp state variables have been updated#1501
Closed
khpeterson wants to merge 4 commits intoanalogdevicesinc:mainfrom
Closed
fix(BLE): Defer sending ARQ_Q_FLUSH until after llcp state variables have been updated#1501khpeterson wants to merge 4 commits intoanalogdevicesinc:mainfrom
khpeterson wants to merge 4 commits intoanalogdevicesinc:mainfrom
Conversation
…te variables have been updated
…ecAction where it may be set
… calling lctrSendConnMsg
Contributor
Author
|
Of course, an alternative implementation would enforce the critical section, something like: but that's a really big critical section and kind of unnecessary when the only thing that needs to be reordered is the call to WsfMsgSnd(). That's how I ended up with the flag to indicate if an ARQ_Q_FLUSHED message needs to be sent. |
|
This pull request is stale because it has been open for 30 days with no activity. Remove stale label, commit, or comment or this will be closed in 7 days. |
Contributor
Author
|
What can I do to move this forward? |
|
This pull request is stale because it has been open for 30 days with no activity. Remove stale label, commit, or comment or this will be closed in 7 days. |
This was referenced Mar 31, 2026
Contributor
Author
|
This fix is not general enough to address the root cause. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Defer call to lctrSendConnMsg until after the llcp state variables have been updated.
Fix for #1497, see issue description for details.
Tested with simple BLE peripheral app built for both WSF/FreeRTOS and WSF/baremetal targets.
Checklist Before Requesting Review