|
@@ -672,7 +672,7 @@ qlcnic_diag_test(struct net_device *dev, struct ethtool_test *eth_test,
|
|
if (data[1])
|
|
if (data[1])
|
|
eth_test->flags |= ETH_TEST_FL_FAILED;
|
|
eth_test->flags |= ETH_TEST_FL_FAILED;
|
|
|
|
|
|
- if (eth_test->flags == ETH_TEST_FL_OFFLINE) {
|
|
|
|
|
|
+ if (eth_test->flags & ETH_TEST_FL_OFFLINE) {
|
|
data[2] = qlcnic_irq_test(dev);
|
|
data[2] = qlcnic_irq_test(dev);
|
|
if (data[2])
|
|
if (data[2])
|
|
eth_test->flags |= ETH_TEST_FL_FAILED;
|
|
eth_test->flags |= ETH_TEST_FL_FAILED;
|