From 5b4b40cc1e0dce99ea6e08e459c37c3b9e80e8cd Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Sun, 21 Feb 2016 22:01:03 +0100 Subject: [PATCH] drivers: cc110x: don't pass isr_arg on rx complete event --- drivers/cc110x/cc110x-netdev2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cc110x/cc110x-netdev2.c b/drivers/cc110x/cc110x-netdev2.c index 248a1da66a..ffb241efa1 100644 --- a/drivers/cc110x/cc110x-netdev2.c +++ b/drivers/cc110x/cc110x-netdev2.c @@ -178,7 +178,7 @@ static void _netdev2_cc110x_rx_callback(void *arg) netdev2_t *netdev2 = (netdev2_t*) arg; cc110x_t *cc110x = &((netdev2_cc110x_t*) arg)->cc110x; gpio_irq_disable(cc110x->params.gdo2); - netdev2->event_callback(netdev2, NETDEV2_EVENT_RX_COMPLETE, netdev2->isr_arg); + netdev2->event_callback(netdev2, NETDEV2_EVENT_RX_COMPLETE, NULL); } static void _isr(netdev2_t *dev)