Several bugfixes, mostly from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
a7490ae029
commit
5b989e7735
|
@ -1656,6 +1656,7 @@ static void stm32_receive(FAR struct stm32_ethmac_s *priv)
|
||||||
|
|
||||||
stm32_freebuffer(priv, dev->d_buf);
|
stm32_freebuffer(priv, dev->d_buf);
|
||||||
dev->d_buf = NULL;
|
dev->d_buf = NULL;
|
||||||
|
dev->d_len = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue