Commit: 00969bdb17ea01af8722d5bdcf8b2c19e06e9456
Parent: 080174528484ac744e656f2ede525b964eb1c930
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-05-15 23:01:58
Tree: b2e48b80f5417e2d8e495fd15d3391e36ddcba8a

device: Reply br-connection-key-missing on connection bonding error Currently when connection is removed while the client is waiting for Connect() the failed message is br-connection-canceled, even if this is due to bonding error. Implement to reply with br-connection-key-missing, when the connection request fails due to a bonding authentication error, allowing the client to differentiate connection failure reasons. This has been tested by: - pair a device - disconnect - edit pairing info to change last character of Key entry of [LinkKey] in /var/lib/bluetooth/<adapter_address>/<device_address>?info - restart bluetoothd - in bluetoothctl, connect <device_address>

Diffstat

M src/device.c | 16 ++++++++++++++- -

1 files changed, 14 insertions(+), 2 deletions(-)

View Full Diff | Patch