1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers: ethos: correctly pass on isr_arg

This commit is contained in:
Kaspar Schleiser 2016-02-21 00:29:58 +01:00
parent b43a1070a2
commit d454e83009

View File

@ -110,7 +110,7 @@ static void _end_of_frame(ethos_t *dev)
case ETHOS_FRAME_TYPE_DATA:
if (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;
case ETHOS_FRAME_TYPE_HELLO: