smsc95xx: fix reset check
commitd946092000698fd204d82a9d239103c656fb63bf
authorRabin Vincent <rabin@rab.in>
Sat, 30 Apr 2011 08:29:27 +0000 (30 08:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 May 2011 22:50:58 +0000 (2 15:50 -0700)
tree6d043e823caaddbbbde50b79429d110169f22b28
parent6fdbab9d93e04bfe71f2b3fde485d092e2ffe3ec
smsc95xx: fix reset check

The reset loop check should check the MII_BMCR register value for
BMCR_RESET rather than for MII_BMCR (the register address, which also
happens to be zero).

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c