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: Host: SSP: Correct BR bonding type #78832

Merged

Commits on Sep 23, 2024

  1. Bluetooth: Host: SSP: Correct BR bonding type

    Currently, the bonding type of Authentication
    _Requirements parameter is always `Dedicated
    Bonding` if the device is pairing initiator.
    
    But if the bonding is performed during
    connection setup or channel establishment as
    a precursor to accessing a service, the
    bonding type should be `General bonding`.
    
    Add a flag BT_CONN_BR_GENERAL_BONDING.
    Set the flag if the bonding is performed in
    the L2CAP_BR/RFCOMM channel establishment.
    
    Set bonding type depends on the flag when
    receiving IO cap request.
    
    Signed-off-by: Lyle Zhu <[email protected]>
    lylezhu2012 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    7d3b0ca View commit details
    Browse the repository at this point in the history