]> git.baikalelectronics.ru Git - kernel.git/commit
r6040: only disable RX interrupt if napi_schedule_prep is successful
authorMichael Thalmeier <Michael.Thalmeier@sigmatek.at>
Fri, 15 Jul 2011 01:28:26 +0000 (01:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2011 15:10:33 +0000 (08:10 -0700)
commitfac4f62c3d286ca4dc099036ca0849227714b962
tree21ca5f7bc9713f2e1d7caad7758e2d0e245a7bc5
parentc78c15ec63311fcfb7cfedeebd79b62ca167eaba
r6040: only disable RX interrupt if napi_schedule_prep is successful

When receiving the first RX interrupt before the internal call
to napi_schedule_prep is successful the RX interrupt gets disabled
and is never enabled again as the poll function never gets executed.

Signed-off-by: Michael Thalmeier <Michael.Thalmeier@sigmatek.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c