1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

netdev2_tap: fix strange event_callback argument

This commit is contained in:
Martine Lenders 2016-02-20 15:55:35 +01:00
parent 4ea1a56f10
commit eb4d9859a3

View File

@ -101,7 +101,7 @@ static inline int _set_promiscous(netdev2_t *netdev, int value)
static inline void _isr(netdev2_t *netdev)
{
if (netdev->event_callback) {
netdev->event_callback(netdev, NETDEV2_EVENT_RX_COMPLETE, (void*)NETDEV2_TYPE_ETHERNET);
netdev->event_callback(netdev, NETDEV2_EVENT_RX_COMPLETE, netdev->isr_arg);
}
#if DEVELHELP
else {