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

drivers: ethos: correctly pass on isr_arg

parent b43a1070
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ static void _end_of_frame(ethos_t *dev) ...@@ -110,7 +110,7 @@ static void _end_of_frame(ethos_t *dev)
case ETHOS_FRAME_TYPE_DATA: case ETHOS_FRAME_TYPE_DATA:
if (dev->framesize) { if (dev->framesize) {
dev->last_framesize = dev->framesize; dev->last_framesize = dev->framesize;
dev->netdev.event_callback((netdev2_t*) dev, NETDEV2_EVENT_ISR, NULL); dev->netdev.event_callback((netdev2_t*) dev, NETDEV2_EVENT_ISR, dev->netdev.isr_arg);
} }
break; break;
case ETHOS_FRAME_TYPE_HELLO: case ETHOS_FRAME_TYPE_HELLO:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment