Commit: 45b61a10bd0af9b0b13f508166369eb1138ae448
Parent: 1c2ec29900e48c785f7faa8fbe88f3085aaf806b
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-03-26 17:57:18
Tree: 6e471445283f245bd90d3af44edefafbbe255db8

device: Use btd_device_is_initiator instead of Connect message Device.Connect message is not the only way to initiate a connection as there is also the likes of Device.Pair which will initiate bonding, so this incorporate the bonding check into btd_device_is_initiator and replaces the checks of were Connect message was used to determine if initiator to use btd_device_is_initiator.

Diffstat

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

1 files changed, 6 insertions(+), 3 deletions(-)

View Full Diff | Patch