net: WIZnet drivers: enable interrupts after napi_complete()
authorYongbae Park <yongbae2@gmail.com>
Tue, 10 Mar 2015 02:35:07 +0000 (11:35 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2015 04:22:54 +0000 (00:22 -0400)
commit5a3dba7a5fcc02b78d92c35e2ca53f21ae3402c9
treebd0fc66d8ae1a4dc7374fb79e017d739c78c0e38
parent4736edc764b5464d625385ef89ed0c3c88b09897
net: WIZnet drivers: enable interrupts after napi_complete()

The interrupt is enabled before napi_complete(). A network timeout
occurs if the interrupt handler is called before napi_complete().

Fix the bug by enabling the interrupt after napi_complete().

Signed-off-by: Yongbae Park <yongbae2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/wiznet/w5100.c
drivers/net/ethernet/wiznet/w5300.c