Message ID | 20250312190943.152482-1-arkadiusz.bokowy@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8d35126f69f25964a14be45e770d050782cbe9e2 |
Headers | show |
Series | Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/SubjectPrefix | success | Gitlint PASS |
tedd_an/BuildKernel | success | BuildKernel PASS |
tedd_an/CheckAllWarning | success | CheckAllWarning PASS |
tedd_an/CheckSparse | success | CheckSparse PASS |
tedd_an/BuildKernel32 | success | BuildKernel32 PASS |
tedd_an/TestRunnerSetup | success | TestRunnerSetup PASS |
tedd_an/TestRunner_l2cap-tester | success | TestRunner PASS |
tedd_an/TestRunner_iso-tester | success | TestRunner PASS |
tedd_an/TestRunner_bnep-tester | success | TestRunner PASS |
tedd_an/TestRunner_mgmt-tester | fail | TestRunner_mgmt-tester: Total: 490, Passed: 483 (98.6%), Failed: 3, Not Run: 4 |
tedd_an/TestRunner_rfcomm-tester | success | TestRunner PASS |
tedd_an/TestRunner_sco-tester | success | TestRunner PASS |
tedd_an/TestRunner_ioctl-tester | success | TestRunner PASS |
tedd_an/TestRunner_mesh-tester | success | TestRunner PASS |
tedd_an/TestRunner_smp-tester | success | TestRunner PASS |
tedd_an/TestRunner_userchan-tester | success | TestRunner PASS |
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=943230 ---Test result--- Test Summary: CheckPatch PENDING 0.38 seconds GitLint PENDING 0.27 seconds SubjectPrefix PASS 0.06 seconds BuildKernel PASS 24.62 seconds CheckAllWarning PASS 26.71 seconds CheckSparse PASS 29.90 seconds BuildKernel32 PASS 23.93 seconds TestRunnerSetup PASS 427.42 seconds TestRunner_l2cap-tester PASS 20.90 seconds TestRunner_iso-tester PASS 28.68 seconds TestRunner_bnep-tester PASS 4.79 seconds TestRunner_mgmt-tester FAIL 123.07 seconds TestRunner_rfcomm-tester PASS 7.87 seconds TestRunner_sco-tester PASS 12.14 seconds TestRunner_ioctl-tester PASS 8.32 seconds TestRunner_mesh-tester PASS 6.05 seconds TestRunner_smp-tester PASS 7.23 seconds TestRunner_userchan-tester PASS 4.90 seconds IncrementalBuild PENDING 0.82 seconds Details ############################## Test: CheckPatch - PENDING Desc: Run checkpatch.pl script Output: ############################## Test: GitLint - PENDING Desc: Run gitlint Output: ############################## Test: TestRunner_mgmt-tester - FAIL Desc: Run mgmt-tester with test-runner Output: Total: 490, Passed: 483 (98.6%), Failed: 3, Not Run: 4 Failed Test Cases LL Privacy - Add Device 3 (AL is full) Failed 0.192 seconds LL Privacy - Set Flags 1 (Add to RL) Failed 0.142 seconds LL Privacy - Set Flags 2 (Enable RL) Failed 0.135 seconds ############################## Test: IncrementalBuild - PENDING Desc: Incremental build with the patches in the series Output: --- Regards, Linux Bluetooth
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Wed, 12 Mar 2025 20:09:43 +0100 you wrote: > Due to a typo during defining HCI errors it is not possible to connect > LE-capable device with BR/EDR only adapter. The connection is terminated > by the LE adapter because the invalid LL params error code is treated > as unsupported remote feature. > > Fixes: 79c0868ad65a ("Bluetooth: hci_event: Use HCI error defines instead of magic values") > Signed-off-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com> > > [...] Here is the summary with links: - Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters https://git.kernel.org/bluetooth/bluetooth-next/c/8d35126f69f2 You are awesome, thank you!
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 0d51970d809f..3ec915738112 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -683,7 +683,7 @@ enum { #define HCI_ERROR_REMOTE_POWER_OFF 0x15 #define HCI_ERROR_LOCAL_HOST_TERM 0x16 #define HCI_ERROR_PAIRING_NOT_ALLOWED 0x18 -#define HCI_ERROR_UNSUPPORTED_REMOTE_FEATURE 0x1e +#define HCI_ERROR_UNSUPPORTED_REMOTE_FEATURE 0x1a #define HCI_ERROR_INVALID_LL_PARAMS 0x1e #define HCI_ERROR_UNSPECIFIED 0x1f #define HCI_ERROR_ADVERTISING_TIMEOUT 0x3c
Due to a typo during defining HCI errors it is not possible to connect LE-capable device with BR/EDR only adapter. The connection is terminated by the LE adapter because the invalid LL params error code is treated as unsupported remote feature. Fixes: 79c0868ad65a ("Bluetooth: hci_event: Use HCI error defines instead of magic values") Signed-off-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com> --- include/net/bluetooth/hci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)