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:
Vinayak Kariappa Chettimada 2020-04-16 14:14:34 +05:30 committed by Carles Cufí
commit 3527778c41

View file

@ -83,6 +83,13 @@ uint8_t ll_scan_params_set(uint8_t type, uint16_t interval, uint16_t window,
}
lll = &scan->lll;
if (!interval) {
lll->phy = 0U;
return 0;
}
lll->phy = phy;
#else /* !CONFIG_BT_CTLR_ADV_EXT */