Skip to content

Commit

Permalink
fixup! drivers/slipdev: generate RX event for queued packets
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jun 13, 2022
1 parent 4115fac commit 9616555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/slipdev/slipdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static int _recv(netdev_t *netdev, void *buf, size_t len, void *info)

if (++dev->rx_done != dev->rx_queued) {
DEBUG("slipdev: pkt still in queue");
netdev_trigger_event_isr(&dev->netdev);
netdev->event_callback(netdev, NETDEV_EVENT_RX_COMPLETE);
}
}
return res;
Expand Down

0 comments on commit 9616555

Please sign in to comment.