From: Shahed Shaikh Date: Thu, 21 Feb 2013 11:09:46 +0000 (+0000) Subject: qlcnic: Fix internal loopback test for 82xx adapter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d09529e6a6317801d2bbf3eeebf650b1bf2f78e8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git qlcnic: Fix internal loopback test for 82xx adapter o Use correct function to clear loopback mode. Signed-off-by: Shahed Shaikh Signed-off-by: Jitendra Kalsaria Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 11c3db6daffd..474b4794a944 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h @@ -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,