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:
parent
08cdf37908
commit
6ac1bcad7e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user