From: Hariprasad Shenai Date: Wed, 23 Dec 2015 17:17:11 +0000 (+0530) Subject: cxgb4: Pass correct argument to t4_link_l1cfg() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e894d720a5c501c4a2a01ae64f732046d1f48b76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cxgb4: Pass correct argument to t4_link_l1cfg() Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c index 2a61a42ab033..7a0b92b2f73c 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c @@ -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; }