device: Don't attempt to set auto_connect for devices using RPAs
Luiz Augusto von Dentz
maintainerPATCH 1/2 device: Don't attempt to set auto_connect for devices using RPAs
From: Luiz Augusto von Dentz <[email protected]>
Device using private address cannot be programmed into the auto_connect list without them being paired and its IRK being distributed otherwise there is no way to resolve it address and the command will fail.
--- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/device.c +1 -1
@@ -2006,7 +2006,7 @@ static void device_set_auto_connect(struct btd_device *device, gboolean enable) {char addr[18 ]; -if (!device || !device->le) +if (!device || !device->le ||device_address_is_private (device))return ;ba2str (&device->bdaddr, addr);
Signature · 1 line
2.41.0
Luiz Augusto von Dentz
maintainerPATCH 2/2 device: Restart temporary timer while connecting
From: Luiz Augusto von Dentz <[email protected]>
If the device is temporary restart its timer when attempt to connect to it since it can interrupt the connection attempt prematurely while it still scanning, etc.
--- src/device.c | 4 ++++ 1 file changed, 4 insertions(+)
src/device.c +4 -0
@@ -5754,6 +5754,10 @@ int device_connect_le(struct btd_device *dev)/* Keep this, so we can cancel the connection */ dev->att_io = io; +/* Restart temporary timer to give it time to connect/pair, etc. */ +if (dev->temporary) +set_temporary_timer (dev, btd_opts.tmpto); +return 0 ; }
Signature · 1 line
2.41.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=777197
---Test result---
Test Summary:
CheckPatch PASS 0.95 seconds GitLint PASS 0.63 seconds BuildEll PASS 32.45 seconds BluezMake PASS 1002.94 seconds MakeCheck PASS 13.71 seconds MakeDistcheck PASS 186.14 seconds CheckValgrind PASS 305.56 seconds CheckSmatch PASS 405.99 seconds bluezmakeextell PASS 123.37 seconds IncrementalBuild PASS 1634.12 seconds ScanBuild PASS 1250.37 seconds
---
Regards,
Linux Bluetooth
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Thu, 17 Aug 2023 15:41:02 -0700 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
Device using private address cannot be programmed into the
auto_connectlist without them being paired and its IRK being distributed otherwise there is no way to resolve it address and the command will fail.--- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [BlueZ,1/2] device: Don't attempt to set auto_connect for devices using RPAs
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=cc7dbadb7236 - [BlueZ,2/2] device: Restart temporary timer while connecting https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=0004eb06d5d9
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html