Skip to content

Commit 60fc1cd

Browse files
nimble/ll: Fix PHY_UPDATE_IND handling
phys fields are bitmasks, need to convert them.
1 parent 638978a commit 60fc1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nimble/controller/src/ble_ll_ctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@ ble_ll_ctrl_tx_done(struct os_mbuf *txpdu, struct ble_ll_conn_sm *connsm)
26502650
}
26512651
break;
26522652
case BLE_LL_CTRL_PHY_UPDATE_IND:
2653-
connsm->phy_tx_transition = txpdu->om_data[2];
2653+
connsm->phy_tx_transition = ble_ll_ctrl_phy_from_phy_mask(txpdu->om_data[2]);
26542654
break;
26552655
#endif
26562656
default:

0 commit comments

Comments
 (0)