https://bugzilla.kernel.org/show_bug.cgi?id=220061 --- Comment #12 from Luiz Von Dentz (luiz.dentz@xxxxxxxxx) --- (In reply to Sandro Forster from comment #11) > I've tested v2 of the fix with a DualShock 4 v1 and v2 (the firmware is > probably the same, but just to be sure). Both had the same behavior. > Connecting failed on the first attempt, but every following connection > succeeded. When bluetooth is restarted, the first connection fails again. > Here is the output of btmon for a unsuccessful and successful connection > attempt. I've attached to logs above. I think that is because when you restart the daemon the link keys are reloaded and then their key size is lost in the process (for Classic, for LE the key size seem to be stored by the daemon), anyway I just spin a v3 to address this so if we don't know the key encryption size we use hdev->min_enc_key_size to satisfy l2cap_check_enc_key_size: https://patchwork.kernel.org/project/bluetooth/patch/20250502202052.2802441-1-luiz.dentz@xxxxxxxxx/ -- You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.