smsc75xx: check return code from smsc75xx_reset
authorSteve Glendinning <steve.glendinning@shawell.net>
Wed, 28 Nov 2012 05:59:45 +0000 (05:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2012 16:17:31 +0000 (11:17 -0500)
commit33763b79a1a0c351b81817748d40160f25200ebd
tree8ac2c55844e9040c40719bc879da00f35b977668
parent1e6b55ee98b9738966ee9709f6328ac10d474100
smsc75xx: check return code from smsc75xx_reset

This patch adds a missing check and error message if smsc75xx_reset
fails.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c