From 47920e8f690c7435aa1d1cb6783195ed2a7b4cb4 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Fri, 7 Oct 2016 11:57:23 -0700 Subject: [PATCH] Add call `otSignalTaskletPending()` from `ProcessQueuedTasklet()`. (#766) --- src/core/common/tasklet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/common/tasklet.cpp b/src/core/common/tasklet.cpp index 6eb2efaa1..7f972b7b7 100644 --- a/src/core/common/tasklet.cpp +++ b/src/core/common/tasklet.cpp @@ -116,6 +116,11 @@ void TaskletScheduler::ProcessQueuedTasklets(void) // only process tasklets that were queued at the time this method was called if (cur == tail) { + if (mHead != NULL) + { + otSignalTaskletPending(cur->mScheduler.GetIp6()->GetInstance()); + } + break; } }