Tiva Ethernet: Remove assertion. Just log and error and continue

This commit is contained in:
Gregory Nutt 2015-01-17 10:01:55 -06:00
parent 66f5fd1096
commit 7b41d66962

View File

@ -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.