Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 633ac363 authored by Dmitry Kravkov's avatar Dmitry Kravkov Committed by David S. Miller
Browse files

bnx2x: Fix ethtool -t link test for MF (non-pmf) devices.

parent d4215ef7
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1932,7 +1932,7 @@ static void bnx2x_self_test(struct net_device *dev,
		buf[4] = 1;
		etest->flags |= ETH_TEST_FL_FAILED;
	}
	if (bp->port.pmf)

	if (bnx2x_link_test(bp, is_serdes) != 0) {
		buf[5] = 1;
		etest->flags |= ETH_TEST_FL_FAILED;