slipif: Fix unbalance SYS_ARCH_PROTECT in slipif_process_rxqueue()

Fixes: 3d1a306518 ("SLIP netif: add support for multiple input strategies (threaded, polling, RX from ISR)")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2017-11-08 21:01:02 +08:00 committed by Dirk Ziegelmeier
parent a8acca5902
commit 7a241b6b52

View File

@ -471,6 +471,7 @@ slipif_process_rxqueue(struct netif *netif)
}
SYS_ARCH_PROTECT(old_level);
}
SYS_ARCH_UNPROTECT(old_level);
}
/** Like slipif_rxbyte, but queues completed packets.