Bluetooth: controller: split: Fix ext create conn when coded PHY unsupp
Fix implementation from performing a redundant loop checking for coded PHY create connection parameters in HCI command. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
28f4c1b703
commit
e20455b9cc
1 changed files with 8 additions and 1 deletions
|
@ -1936,7 +1936,14 @@ static void le_ext_create_connection(struct net_buf *buf, struct net_buf **evt)
|
||||||
phys = cmd->phys;
|
phys = cmd->phys;
|
||||||
p = cmd->p;
|
p = cmd->p;
|
||||||
|
|
||||||
phys_bitmask = BT_HCI_LE_EXT_SCAN_PHY_CODED | BT_HCI_LE_EXT_SCAN_PHY_1M;
|
/* Number of bits set indicate scan sets to be configured by calling
|
||||||
|
* ll_create_connection function.
|
||||||
|
*/
|
||||||
|
phys_bitmask = BT_HCI_LE_EXT_SCAN_PHY_1M;
|
||||||
|
if (IS_ENABLED(CONFIG_BT_CTLR_PHY_CODED)) {
|
||||||
|
phys_bitmask |= BT_HCI_LE_EXT_SCAN_PHY_CODED;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
uint16_t supervision_timeout;
|
uint16_t supervision_timeout;
|
||||||
uint16_t conn_interval_max;
|
uint16_t conn_interval_max;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue