From da8589ce4c3de5d09391162e19795f0bf20cc417 Mon Sep 17 00:00:00 2001 From: Koen Zandberg <koen@bergzand.net> Date: Thu, 12 Jul 2018 12:13:54 +0200 Subject: [PATCH] openthread: Enable RX complete netdev event Fixes issue where openthread assumed that this flag was enabled by default with netdev devices --- pkg/openthread/contrib/netdev/openthread_netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/openthread/contrib/netdev/openthread_netdev.c b/pkg/openthread/contrib/netdev/openthread_netdev.c index 348da5ac9c..446076cf58 100644 --- a/pkg/openthread/contrib/netdev/openthread_netdev.c +++ b/pkg/openthread/contrib/netdev/openthread_netdev.c @@ -174,6 +174,7 @@ int openthread_netdev_init(char *stack, int stacksize, char priority, netopt_enable_t enable = NETOPT_ENABLE; netdev->driver->set(netdev, NETOPT_TX_END_IRQ, &enable, sizeof(enable)); + netdev->driver->set(netdev, NETOPT_RX_END_IRQ, &enable, sizeof(enable)); _pid = thread_create(stack, stacksize, priority, THREAD_CREATE_STACKTEST, -- GitLab