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

Commit 150899d2 authored by Steve Glendinning's avatar Steve Glendinning Committed by David S. Miller
Browse files

smsc911x: correct debugging message on mii read timeout



the warning printed when a mii READ times out currently says "Timed out
waiting for MII write to finish".  This patch corrects this.

Signed-off-by: default avatarSteve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5cacb3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
			goto out;
		}

	SMSC_WARNING(HW, "Timed out waiting for MII write to finish");
	SMSC_WARNING(HW, "Timed out waiting for MII read to finish");
	reg = -EIO;

out: