Bluetooth: controller: split: Fix extended scan param set
Fix missing reset of phy struct member for scan set that is not being enabled by use of LE Extended Scan Parameter Set command. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
281fa4c4a9
commit
3527778c41
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ uint8_t ll_scan_params_set(uint8_t type, uint16_t interval, uint16_t window,
|
||||||
}
|
}
|
||||||
|
|
||||||
lll = &scan->lll;
|
lll = &scan->lll;
|
||||||
|
|
||||||
|
if (!interval) {
|
||||||
|
lll->phy = 0U;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
lll->phy = phy;
|
lll->phy = phy;
|
||||||
|
|
||||||
#else /* !CONFIG_BT_CTLR_ADV_EXT */
|
#else /* !CONFIG_BT_CTLR_ADV_EXT */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue