qlcnic: fix ethtool diagnostics test
authorSony Chacko <sony.chacko@qlogic.com>
Mon, 10 Jan 2011 00:15:22 +0000 (00:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 21:34:54 +0000 (13:34 -0800)
commit13b93ed924a82affd1e3a48f631cbb12c552199d
tree7865b55d62171105f40e1b096caeb62ae877f885
parent0e5f20b656c14d91efe61240d44b6f4b53ea939e
qlcnic: fix ethtool diagnostics test

IRQ diag test was getting executed only when both register test
and link test passed. The test should get executed if ETH_TEST_FL_OFFLINE
flag is set.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c