mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-17 10:57:22 +00:00
nimble/ll: Fix PHY_UPDATE_IND handling
phys fields are bitmasks, need to convert them.
This commit is contained in:
@@ -2650,7 +2650,7 @@ ble_ll_ctrl_tx_done(struct os_mbuf *txpdu, struct ble_ll_conn_sm *connsm)
|
||||
}
|
||||
break;
|
||||
case BLE_LL_CTRL_PHY_UPDATE_IND:
|
||||
connsm->phy_tx_transition = txpdu->om_data[2];
|
||||
connsm->phy_tx_transition = ble_ll_ctrl_phy_from_phy_mask(txpdu->om_data[2]);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user