drivers: ieee802154: nrf5: Fix missed variable rename

Fixes and issue with a variable that has been renamed but whose
reference in the source file has not

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-11-20 15:00:59 +00:00 committed by Carles Cufí
commit 90dfbf99d8

View file

@ -930,9 +930,9 @@ static int nrf5_configure(const struct device *dev,
#if defined(CONFIG_NRF_802154_SER_HOST)
net_time_t period_ns = nrf5_data.csl_period * NSEC_PER_TEN_SYMBOLS;
bool changed = (config->csl_rx_time - nrf5_data.csl_rx_time) % period_ns;
bool changed = (config->expected_rx_time - nrf5_data.csl_rx_time) % period_ns;
nrf5_data.csl_rx_time = config->csl_rx_time;
nrf5_data.csl_rx_time = config->expected_rx_time;
if (changed)
#endif /* CONFIG_NRF_802154_SER_HOST */