From: Hariprasad Shenai Date: Wed, 23 Dec 2015 17:17:11 +0000 (+0530) Subject: cxgb4: Pass correct argument to t4_link_l1cfg() X-Git-Tag: v4.14-rc1~3609^2~435^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e894d720a5c501c4a2a01ae64f732046d1f48b76;p=platform%2Fkernel%2Flinux-rpi.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 2a61a42..7a0b92b 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; }