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

Bluetooth: conn: move auto-init procedures to system workqueue #77703

Merged

Commits on Sep 9, 2024

  1. Bluetooth: conn: move auto-init procedures to system workqueue

    `conn_auto_initiate()` starts a bunch of controller procedures (read: HCI
    commands) that are fired off right after connection establishment.
    
    Right now, it's called from the RX context, which is the same context where
    resources (cmd & acl buffers) are freed. This not ideal.
    
    But the procedures are all async, so it should be fine to schedule this
    function on the system workqueue, where we have less risk of deadlocks.
    
    Signed-off-by: Jonathan Rico <[email protected]>
    jori-nordic committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b975ee8 View commit details
    Browse the repository at this point in the history