aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_ethtool.c')
-rw-r--r--drivers/net/bnx2x/bnx2x_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethtool.c b/drivers/net/bnx2x/bnx2x_ethtool.c
index becfd9eb8905..dbcfa7a5618f 100644
--- a/drivers/net/bnx2x/bnx2x_ethtool.c
+++ b/drivers/net/bnx2x/bnx2x_ethtool.c
@@ -1282,7 +1282,7 @@ static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode, u8 link_up)
1282 /* check the loopback mode */ 1282 /* check the loopback mode */
1283 switch (loopback_mode) { 1283 switch (loopback_mode) {
1284 case BNX2X_PHY_LOOPBACK: 1284 case BNX2X_PHY_LOOPBACK:
1285 if (bp->link_params.loopback_mode != LOOPBACK_XGXS_10) 1285 if (bp->link_params.loopback_mode != LOOPBACK_XGXS)
1286 return -EINVAL; 1286 return -EINVAL;
1287 break; 1287 break;
1288 case BNX2X_MAC_LOOPBACK: 1288 case BNX2X_MAC_LOOPBACK: