qlcnic: reset loopback mode if promiscous mode setting fails.
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Fri, 28 Oct 2011 12:57:12 +0000 (12:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2011 07:09:40 +0000 (03:09 -0400)
commitad567b8f1d1e39bdf622866a910f1d52d2be3a0a
tree81da3fda4ec9e9215412697555e5939d0f384ebc
parent16e3cf73befecd882399d6ec7b12e8fb2c7abf73
qlcnic: reset loopback mode if promiscous mode setting fails.

If promiscous mode setting fails, reset loopback mode setting in firmware.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c