[riot-notifications] [RIOT-OS/RIOT] gnrc_netif_pktq: schedule immediately if timer us is equal to zero (#16745)

benpicco notifications at github.com
Tue Aug 17 15:17:12 CEST 2021

Hm shouldn't that timeout only hit if the driver is not providing `NETDEV_EVENT_RX_COMPLETE` / `NETDEV_EVENT_TX_COMPLETE` events? That's where `_send_queued_pkt()` is usually called, `GNRC_NETIF_PKTQ_DEQUEUE_MSG` appears more like a fall-back to me.

Essentially, this will now poll the driver to send the packet instead of waiting for it to send a state change event. 

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/20210817/96def1d5/attachment.htm>

More information about the notifications mailing list