Commit 43f159c6 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by David S. Miller

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: default avatarHauke Mehrtens <>
Signed-off-by: default avatarDavid S. Miller <>
parent 6216642f
......@@ -1167,10 +1167,10 @@ static int bgmac_poll(struct napi_struct *napi, int weight)
bgmac->int_status = 0;
if (handled < weight)
if (handled < weight) {
return handled;
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