Skip to content
Snippets Groups Projects
Commit dc283dcc authored by Reddy Praveen's avatar Reddy Praveen Committed by Jakub Pawlowski
Browse files

Fix for Extended Scan parameter length


With BT 5.0 extended advertisement scan parameter length
is configured with correct value.

Test: BT scan from settings menu
Change-Id: I749099282a9f2cf190d4f9576649aefe88564809
Signed-off-by: default avatarReddy Praveen <praveen.reddy@intel.com>
parent 3e6ec10a
No related branches found
No related tags found
No related merge requests found
......@@ -698,7 +698,7 @@ void btsnd_hcic_ble_set_extended_scan_params(uint8_t own_address_type,
uint8_t* pp = (uint8_t*)(p + 1);
uint16_t param_len = 3 + (5 * scanning_phys);
p->len = HCIC_PREAMBLE_SIZE + 3 + (5 * param_len);
p->len = HCIC_PREAMBLE_SIZE + param_len;
p->offset = 0;
UINT16_TO_STREAM(pp, HCI_LE_SET_EXTENDED_SCAN_PARAMETERS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment