diff --git a/arch/arm/src/tiva/common/tiva_sock_can.c b/arch/arm/src/tiva/common/tiva_sock_can.c index 60ebd03e785bb..8c442d03dcae2 100644 --- a/arch/arm/src/tiva/common/tiva_sock_can.c +++ b/arch/arm/src/tiva/common/tiva_sock_can.c @@ -1263,6 +1263,7 @@ static int tivacan_alloc_fifo(struct net_driver_s *dev, int depth) if (free_fifo_idx < 0) { canwarn("Max number of filters allocated.\n"); + nxmutex_unlock(&canmod->fifo_lock); return -ENOMEM; }