Mesh HCI interface init scan interval fixed
cover Mesh HCI interface init scan interval fixed
The HCI initialization function of bluetooth-meshd was not converting to the correct byte order when initializing the LE Scan Parameters. This is now fixed.
Daan Pape (1):
Mesh HCI interface init scan interval fixed
AUTHORS | 1 + mesh/mesh-io-generic.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/1 Mesh HCI interface init scan interval fixed
--- AUTHORS | 1 + mesh/mesh-io-generic.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
AUTHORS +1 -0
@@ -107,3 +107,4 @@ Michał Lowas-Rzechonek <[email protected]> Jakub Witowski <[email protected]> Rafał Gajda <[email protected]> Szymon Czapracki <[email protected]> +Daan Pape <[email protected]>
mesh/mesh-io-generic.c +2 -2
@@ -213,8 +213,8 @@ static void configure_hci(struct mesh_io_private *io)/* Set scan parameters */ cmd.type =0x00 ;/* Passive Scanning. No scanning PDUs shall be sent */ - cmd.interval =0x0030 ;/* Scan Interval = N * 0.625ms */ - cmd.window =0x0030 ;/* Scan Window = N * 0.625ms */ + cmd.interval =L_CPU_TO_LE16 (0x0010 );/* Scan Interval = N * 0.625ms */ + cmd.window =L_CPU_TO_LE16 (0x0010 );/* Scan Window = N * 0.625ms */ cmd.own_addr_type =0x00 ;/* Public Device Address */ /* Accept all advertising packets except directed advertising packets * not addressed to this device (default).
Signature · 1 line
2.25.1
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. While we are preparing for reviewing the patches, we found the following issue/warning.
Test Result:
checkgitlint Failed
Outputs:
3: B6 Body message is missing
---
Regards,
Linux Bluetooth