qlcnic: Fix internal loopback test for 82xx adapter
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Thu, 21 Feb 2013 11:09:46 +0000 (11:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2013 23:15:57 +0000 (18:15 -0500)
o Use correct function to clear loopback mode.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h

index 11c3db6daffdc8fee7107a7ca63c96b37dc765ac..474b4794a944ee8c6f1bf17b47659a2b19480b29 100644 (file)
@@ -1755,7 +1755,7 @@ static inline int qlcnic_set_lb_mode(struct qlcnic_adapter *adapter, u8 mode)
 
 static inline int qlcnic_clear_lb_mode(struct qlcnic_adapter *adapter, u8 mode)
 {
-       return adapter->ahw->hw_ops->config_loopback(adapter, mode);
+       return adapter->ahw->hw_ops->clear_loopback(adapter, mode);
 }
 
 static inline int qlcnic_nic_set_promisc(struct qlcnic_adapter *adapter,