1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net/gnrc/gnrc_netif: fix compilation with new netdev API

This fixes a regression introduced in #18496
This commit is contained in:
Marian Buschsieweke 2024-04-30 08:59:50 +02:00
parent 08cdf37908
commit 6ac1bcad7e
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -2061,7 +2061,8 @@ static void _event_cb(netdev_t *dev, netdev_event_t event)
#if IS_USED(MODULE_NETDEV_NEW_API)
else if (gnrc_netif_netdev_new_api(netif)
&& (event == NETDEV_EVENT_TX_COMPLETE)) {
event_post(&netif->evq, &netif->event_tx_done);
event_post(&netif->evq[GNRC_NETIF_EVQ_INDEX_PRIO_LOW],
&netif->event_tx_done);
}
#endif
else {