summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_hw.c
diff options
context:
space:
mode:
authorSony Chacko <sony.chacko@qlogic.com>2010-08-17 02:34:24 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-17 12:59:48 +0200
commit8dec32cc421864702912c4341934fe0c737a9798 (patch)
treedbf48881cd59c393f735bd5cdb4cf23365f346be /drivers/net/qlcnic/qlcnic_hw.c
parentqlcnic: fix link status message (diff)
downloadlinux-8dec32cc421864702912c4341934fe0c737a9798.tar.xz
linux-8dec32cc421864702912c4341934fe0c737a9798.zip
qlcnic: fix link diag test
o Give sufficient time for all makes of PHY modules to establish the link after loopback test. o Perform online test before offline test. 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>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hw.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c
index e08c8b0556a4..9d40ce05cb17 100644
--- a/drivers/net/qlcnic/qlcnic_hw.c
+++ b/drivers/net/qlcnic/qlcnic_hw.c
@@ -1245,4 +1245,5 @@ void qlcnic_clear_ilb_mode(struct qlcnic_adapter *adapter)
mode = VPORT_MISS_MODE_ACCEPT_MULTI;
qlcnic_nic_set_promisc(adapter, mode);
+ msleep(1000);
}