Skip to content
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

nimble/host: Fix disconnect on host connection timeout #1692

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

sjanc
Copy link
Contributor

@sjanc sjanc commented Feb 12, 2024

We don't need to have double loop and lock-unlock host lock when issuing disconnect. ble_gap_terminate_with_conn() can be used to disconnect and it can be called with already provided conn object under host lock.

We don't need to have double loop and lock-unlock host lock when
issuing disconnect. ble_gap_terminate_with_conn() can be used
to disconnect and it can be called with already provided conn object
under host lock.
@sjanc sjanc merged commit d42a0eb into apache:master Feb 14, 2024
16 checks passed
@sjanc sjanc deleted the conn_timeout_disconnect branch February 14, 2024 20:27
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.

2 participants