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

Commit 5eed1f68 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

sfc: Fail self-test with -EBUSY, not -EIO, if the device is busy

parent 17e678d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -461,7 +461,7 @@ static void efx_ethtool_self_test(struct net_device *net_dev,
		goto fail;

	if (efx->state != STATE_READY) {
		rc = -EIO;
		rc = -EBUSY;
		goto out;
	}