smsc75xx: fix error handling in suspend failure case
authorSteve Glendinning <steve.glendinning@shawell.net>
Wed, 28 Nov 2012 05:59:48 +0000 (05:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2012 16:17:31 +0000 (11:17 -0500)
This patch ensures that if we fail to suspend the LAN7500 device
we call usbnet_resume before returning failure, instead of
leaving the usbnet driver in an unusable state.

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

No differences found