Skip to content
Snippets Groups Projects
Commit 2e61f4d3 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

drivers: enc28j60: correctly pass on isr_arg

parent d454e830
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ static void mac_set(enc28j60_t *dev, uint8_t *mac) ...@@ -215,7 +215,7 @@ static void mac_set(enc28j60_t *dev, uint8_t *mac)
static void on_int(void *arg) static void on_int(void *arg)
{ {
netdev2_t *netdev = (netdev2_t *)arg; netdev2_t *netdev = (netdev2_t *)arg;
netdev->event_callback(arg, NETDEV2_EVENT_ISR, NULL); netdev->event_callback(arg, NETDEV2_EVENT_ISR, netdev->isr_arg);
} }
static int nd_send(netdev2_t *netdev, const struct iovec *data, int count) static int nd_send(netdev2_t *netdev, const struct iovec *data, int count)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment