summaryrefslogtreecommitdiff
path: root/drivers/net/pcs/pcs-lynx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcs/pcs-lynx.c')
-rw-r--r--drivers/net/pcs/pcs-lynx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcs/pcs-lynx.c b/drivers/net/pcs/pcs-lynx.c
index 9021b96d4f9d..dc3962b2aa6b 100644
--- a/drivers/net/pcs/pcs-lynx.c
+++ b/drivers/net/pcs/pcs-lynx.c
@@ -216,7 +216,7 @@ static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs,
/* The PCS needs to be configured manually only
* when not operating on in-band mode
*/
- if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED)
+ if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED)
return;
if (duplex == DUPLEX_HALF)