qlcnic: Fix internal loopback test for 82xx adapter
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>
This commit is contained in:
parent
7f7d6c282e
commit
d09529e6a6
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue