drivers: ieee802154_nrf5: fix sleep call for csl
When the csl is active the nrf_802154_sleep() is called unnecessary. This commit fixes it. Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
This commit is contained in:
parent
1d1c97316b
commit
7bdb1c2a82
1 changed files with 1 additions and 1 deletions
|
@ -623,12 +623,12 @@ static int nrf5_stop(const struct device *dev)
|
|||
}
|
||||
#else
|
||||
ARG_UNUSED(dev);
|
||||
#endif
|
||||
|
||||
if (!nrf_802154_sleep()) {
|
||||
LOG_ERR("Error while stopping radio");
|
||||
return -EIO;
|
||||
}
|
||||
#endif
|
||||
|
||||
LOG_DBG("nRF5 802154 radio stopped");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue