From 5b989e77357aa458b0f44ef512c82e54c059b37f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 6 Oct 2012 14:50:37 +0000 Subject: [PATCH] Several bugfixes, mostly from Darcy Gong git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/stm32/stm32_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32/stm32_eth.c b/arch/arm/src/stm32/stm32_eth.c index 13f02679fd..3054142ce8 100644 --- a/arch/arm/src/stm32/stm32_eth.c +++ b/arch/arm/src/stm32/stm32_eth.c @@ -1656,6 +1656,7 @@ static void stm32_receive(FAR struct stm32_ethmac_s *priv) stm32_freebuffer(priv, dev->d_buf); dev->d_buf = NULL; + dev->d_len = 0; } } }