提交 e894d720 编写于 作者: H Hariprasad Shenai 提交者: David S. Miller

cxgb4: Pass correct argument to t4_link_l1cfg()

Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 aeb7ed14
...@@ -686,7 +686,7 @@ static int set_pauseparam(struct net_device *dev, ...@@ -686,7 +686,7 @@ static int set_pauseparam(struct net_device *dev,
if (epause->tx_pause) if (epause->tx_pause)
lc->requested_fc |= PAUSE_TX; lc->requested_fc |= PAUSE_TX;
if (netif_running(dev)) 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); lc);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册