commit | ff35f4c54be4410b3d419ce6d448208f0bd1fc0f | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Apr 25 20:28:05 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 08 10:50:20 2022 -0400 |
tree | f7a91213acb26a7aa65cf99141ec84f596e1f4f3 | |
parent | 09d5f7698a45f40c5ed6c375a4871f1ac394677f [diff] |
net: dm9000: Correctly handle empty FIFO Assign packet pointer only in case the MAC reports anything in the FIFO. In case the MAC indicates empty FIFO, return 0 to pass that information to the network stack. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>