diff options
| author | Marek Vasut <[email protected]> | 2022-04-25 20:28:05 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-08-08 10:50:20 -0400 |
| commit | ecd8b0371386eb0b1826f5d067a3086ad5184a85 (patch) | |
| tree | f7a91213acb26a7aa65cf99141ec84f596e1f4f3 /include/netdev.h | |
| parent | 01207947d54e4d8a356a19658640213be4939f62 (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 <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Ramon Fried <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'include/netdev.h')
0 files changed, 0 insertions, 0 deletions
