Tiva Ethernet: Remove assertion. Just log and error and continue
This commit is contained in:
parent
66f5fd1096
commit
7b41d66962
@ -1665,7 +1665,12 @@ static void tiva_receive(FAR struct tiva_ethmac_s *priv)
|
|||||||
* flasher leaves the hardware in a bad state(?).
|
* flasher leaves the hardware in a bad state(?).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEBUGASSERT(dev->d_buf != NULL);
|
// DEBUGASSERT(dev->d_buf != NULL);
|
||||||
|
if (dev->d_buf == NULL)
|
||||||
|
{
|
||||||
|
nlldbg("ERROR: Ignoring NULL I/O buffer\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Loop while while tiva_recvframe() successfully retrieves valid
|
/* Loop while while tiva_recvframe() successfully retrieves valid
|
||||||
* Ethernet frames.
|
* Ethernet frames.
|
||||||
|
Loading…
Reference in New Issue
Block a user