bgmac: activate irqs only if there is nothing to poll
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Jan 2015 18:49:59 +0000 (19:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2015 20:59:57 +0000 (15:59 -0500)
commit43f159c60a99318b1ef7d1d7c16c4dfdd06bfd90
treebac451207657fa0c6cbbbcd81e2752304d5d39af
parent6216642f200258708e47170ff14ba8ecb486f4f0
bgmac: activate irqs only if there is nothing to poll

IRQs should only get activated when there is nothing to poll in the
queue any more and to after every poll.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c