[riot-notifications] [RIOT-OS/RIOT] ieee802154/submac: fix initialization code (#16533)

José Alamos notifications at github.com
Tue Jun 15 14:24:52 CEST 2021

@jia200x commented on this pull request.

> @@ -382,6 +382,7 @@ int ieee802154_submac_init(ieee802154_submac_t *submac, const network_uint16_t *
                                               CONFIG_IEEE802154_CCA_THRESH_DEFAULT) >= 0);
     ieee802154_radio_request_set_trx_state(dev, IEEE802154_TRX_STATE_RX_ON);
+    while(ieee802154_radio_confirm_set_trx_state(dev) == -EAGAIN) {};

yes, this must be fixed. I will piggyback some changes

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210615/9f5aae24/attachment.htm>

More information about the notifications mailing list