Skip to content

Commit

Permalink
sys/net/gnrc/gnrc_netif: fix compilation with new netdev API
Browse files Browse the repository at this point in the history
This fixes a regression introduced in RIOT-OS#18496
  • Loading branch information
maribu committed Apr 30, 2024
1 parent 6e4035d commit 62e8757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/net/gnrc/netif/gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 62e8757

Please sign in to comment.