Skip to content

Conversation

@deadprogram
Copy link
Member

This PR is to correct race condition from connection params in HCI implementatation.

Basically it was responding by calling a function that retriggered asking to change the parameters yet again. Yet we are not actually doing anything about this request at present.

Along the way to debugging this, I added some additional comments. Also added a specific error returned to allow the service discovery to know when there are no more services to be found.

Copy link
Member

@sago35 sago35 left a comment

Choose a reason for hiding this comment

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

I don't fully understand the details. Adding debug prints and comments seems fine to me. Please let me confirm only the parts where the intention behind the changes is unclear.

@deadprogram deadprogram force-pushed the fixes-hci-connection-race branch from c3abc61 to 5087ac6 Compare January 4, 2025 11:11
@deadprogram
Copy link
Member Author

@sago35 PR has been commented/updated.

@deadprogram deadprogram force-pushed the fixes-hci-connection-race branch from 5087ac6 to b6d4b79 Compare January 4, 2025 14:06
…ion.

Basically it was responding by calling a function that retriggered asking to change the
parameters yet again. Yet we are not actually doing anything about this request at present.

Signed-off-by: deadprogram <[email protected]>
@deadprogram deadprogram force-pushed the fixes-hci-connection-race branch from b6d4b79 to 5eb15c7 Compare January 4, 2025 14:08
@deadprogram
Copy link
Member Author

I think I have now addressed all feedback/comments. Thanks for helping out @sago35 now merging.

@deadprogram deadprogram merged commit 78869b0 into dev Jan 4, 2025
4 checks passed
@deadprogram deadprogram deleted the fixes-hci-connection-race branch January 4, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants