diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2010-08-16 20:34:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 06:59:48 -0400 |
commit | 8dec32cc421864702912c4341934fe0c737a9798 (patch) | |
tree | dbf48881cd59c393f735bd5cdb4cf23365f346be /drivers/net/qlcnic/qlcnic_hw.c | |
parent | 69324275de07584fbd0e77a517f9b43e82eaf9d6 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c index e08c8b0556a..9d40ce05cb1 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) | |||
1245 | mode = VPORT_MISS_MODE_ACCEPT_MULTI; | 1245 | mode = VPORT_MISS_MODE_ACCEPT_MULTI; |
1246 | 1246 | ||
1247 | qlcnic_nic_set_promisc(adapter, mode); | 1247 | qlcnic_nic_set_promisc(adapter, mode); |
1248 | msleep(1000); | ||
1248 | } | 1249 | } |