mirror of https://gitee.com/openkylin/linux.git
cxgb4: Pass correct argument to t4_link_l1cfg()
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aeb7ed14fe
commit
e894d720a5
|
@ -686,7 +686,7 @@ static int set_pauseparam(struct net_device *dev,
|
|||
if (epause->tx_pause)
|
||||
lc->requested_fc |= PAUSE_TX;
|
||||
if (netif_running(dev))
|
||||
return t4_link_l1cfg(p->adapter, p->adapter->pf, p->tx_chan,
|
||||
return t4_link_l1cfg(p->adapter, p->adapter->mbox, p->tx_chan,
|
||||
lc);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue