net: macb: Re-enable RX interrupt only when RX is done
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Sun, 4 May 2014 22:43:00 +0000 (15:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 21:11:18 +0000 (17:11 -0400)
commit02f7a34f34e30ee6fd02e01201ae130003e516ab
treea7d836841193fb37d4c3f787f0d8c9b1db1ed3d7
parent6a027b705fb6d2214647a638b44ea91ee6ce7e4c
net: macb: Re-enable RX interrupt only when RX is done

When data is received during the driver processing received data the
NAPI is re-scheduled. In that case the RX interrupt should not be
re-enabled.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c