In a function pu_prepare_instant there is a condition that checks if there is actual change of a PHY. That condition was based on ctx->data.pu.tx and ctx->data.pu.rx. These members store PHY that is or will be used, hence the condition is wrong. Even there is no actual change in the PHY, values could be not equal to zero. In such case the instant value would be set to wrong value. What more the condition be an 'or' not an 'and' because one of the values must be different than zero to have the PHY change and instant different than zero. After update of the condition, the function call places must be changed. The ctx->data.pu.c_to_p_phy and ctx->data.pu.p_to_c_phy are set in pu_prepare_update_ind function, hence pu_prepare_instant should be called after that. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| crypto | ||
| hal | ||
| hci | ||
| include | ||
| ll_sw | ||
| ticker | ||
| util | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.df | ||
| Kconfig.dtm | ||
| Kconfig.ll_sw_split | ||