Bluetooth: Fix scan_type in le_set_scan_params
scan_type should be set to BT_LE_SCAN_ACTIVE Change-Id: I4cb4141919819ce104b002bfc0e89bedbc55e90d Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
parent
fa1bf41477
commit
3831217a98
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ int bt_start_scanning(uint8_t scan_filter, bt_le_scan_cb_t cb)
|
|||
|
||||
set_param = bt_buf_add(buf, sizeof(*set_param));
|
||||
memset(set_param, 0, sizeof(*set_param));
|
||||
set_param->scan_type = BT_LE_SCAN_ENABLE;
|
||||
set_param->scan_type = BT_LE_SCAN_ACTIVE;
|
||||
|
||||
/* for the rest parameters apply default values according to
|
||||
* spec 4.2, vol2, part E, 7.8.10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue