From 25e2551843ba2f87c0c46ff4f9f7282c09d6c376 Mon Sep 17 00:00:00 2001 From: changtengfei Date: Fri, 15 Mar 2019 11:28:55 +0100 Subject: [PATCH] FW-725. only remove packet not handled by IEEE802154E component. --- openstack/cross-layers/openqueue.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/openstack/cross-layers/openqueue.c b/openstack/cross-layers/openqueue.c index 4c404bbc33..4903e12bdd 100644 --- a/openstack/cross-layers/openqueue.c +++ b/openstack/cross-layers/openqueue.c @@ -138,15 +138,18 @@ owerror_t openqueue_freePacketBuffer(OpenQueueEntry_t* pkt) { \param creator The identifier of the component, taken in COMPONENT_*. */ void openqueue_removeAllCreatedBy(uint8_t creator) { - uint8_t i; - INTERRUPT_DECLARATION(); - DISABLE_INTERRUPTS(); - for (i=0;i