qlcnic: Set __QLCNIC_DEV_UP in adapter state before enabling interrupts
authorPratik Pujar <pratik.pujar@qlogic.com>
Fri, 19 Jul 2013 20:56:27 +0000 (16:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Jul 2013 00:08:15 +0000 (17:08 -0700)
commitcfacb172fa699263a4f74a63d886e171fe3eafbe
tree746205af5a81b4e6739d63220fe2c451cb30499f
parent2deb535af7c824f37d6bc8657fd09e3d10696ee8
qlcnic: Set __QLCNIC_DEV_UP in adapter state before enabling interrupts

NAPI poll function does not re-enable the interrupt, if __QLCNIC_DEV_UP is not set
in adapter state. This was preventing driver from receiving any packet.

Signed-off-by: Pratik Pujar <pratik.pujar@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c