mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
Tiva Ethernet: Remove assertion. Just log and error and continue
This commit is contained in:
parent
66f5fd1096
commit
7b41d66962
1 changed files with 6 additions and 1 deletions
|
|
@ -1665,7 +1665,12 @@ static void tiva_receive(FAR struct tiva_ethmac_s *priv)
|
|||
* 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
|
||||
* Ethernet frames.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue