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:
parent
4ea1a56f10
commit
eb4d9859a3
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user