Commit 83c0bf1b authored by Troy Kisky's avatar Troy Kisky Committed by Kevin Hilman

ARM: DaVinci: fix ethernet lockup again

ARM: DaVinci: fix ethernet lockup again
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 1d432616
......@@ -6534,8 +6534,8 @@ static int emac_poll(struct napi_struct *napi, int budget)
/* if more packets reschedule the tasklet or call
* pkt_process_end */
if (!pkts_pending) {
netif_rx_complete(netdev, napi);
emac_pkt_process_end(dev, NULL);
netif_rx_complete(netdev, napi);
return 0;
} else if (!test_bit(0, &dev->set_to_close)) {
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment