Message ID | 20250505124346.6621-1-ceggers@arri.de |
---|---|
State | New |
Headers | show |
Series | [BlueZ] mesh: acceptor: fix endianess issues | expand |
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=959619 ---Test result--- Test Summary: CheckPatch PENDING 0.40 seconds GitLint PENDING 0.34 seconds BuildEll PASS 20.94 seconds BluezMake PASS 2934.57 seconds MakeCheck PASS 20.78 seconds MakeDistcheck PASS 206.10 seconds CheckValgrind PASS 283.66 seconds CheckSmatch PASS 313.35 seconds bluezmakeextell PASS 131.95 seconds IncrementalBuild PENDING 0.39 seconds ScanBuild PASS 956.84 seconds Details ############################## Test: CheckPatch - PENDING Desc: Run checkpatch.pl script Output: ############################## Test: GitLint - PENDING Desc: Run gitlint Output: ############################## Test: IncrementalBuild - PENDING Desc: Incremental build with the patches in the series Output: --- Regards, Linux Bluetooth
diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c index 241345bdd1ea..0ea9bb84cf36 100644 --- a/mesh/prov-acceptor.c +++ b/mesh/prov-acceptor.c @@ -408,14 +408,14 @@ static bool prov_start_check(struct prov_start *start, break; case 2: /* Output OOB */ - if (!(caps->output_action & (1 << start->auth_action)) || + if (!(L_BE16_TO_CPU(caps->output_action) & (1 << start->auth_action)) || start->auth_size == 0) return false; break; case 3: /* Input OOB */ - if (!(caps->input_action & (1 << start->auth_action)) || + if (!(L_BE16_TO_CPU(caps->input_action) & (1 << start->auth_action)) || start->auth_size == 0) return false;