summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2018-03-23 14:33:10 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-26 04:08:14 +0300
commitb46f7da1f360b755c9e20118a54b8dde9c4d8b5c (patch)
treef88a4ec08d292bda55cc932c5e572ea484e53ed6 /drivers/net
parentbd79aceed53b22766c87c1cf5ddf4639a488c3f4 (diff)
downloadlinux-b46f7da1f360b755c9e20118a54b8dde9c4d8b5c.tar.xz
cxgb4: depend on firmware event for link status
Depend on the firmware sending us link status changes, rather than assuming that the link goes down upon L1 configuration. Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/t4_hw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index 38e38dcfff91..b862477f00a7 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@ -4066,8 +4066,6 @@ int t4_link_l1cfg(struct adapter *adapter, unsigned int mbox,
unsigned int fw_mdi = FW_PORT_CAP32_MDI_V(FW_PORT_CAP32_MDI_AUTO);
fw_port_cap32_t fw_fc, cc_fec, fw_fec, rcap;
- lc->link_ok = 0;
-
/* Convert driver coding of Pause Frame Flow Control settings into the
* Firmware's API.
*/