• M
    usbnet: smsc95xx: fix suspend failure · 76437214
    Ming Lei 提交于
    The three below functions:
    
    	smsc95xx_enter_suspend0()
    	smsc95xx_enter_suspend1()
    	smsc95xx_enter_suspend2()
    
    return > 0 in case of success, so they will cause smsc95xx_suspend()
    to return > 0 and cause suspend failure.
    
    The bug is introduced in commit 3b9f7d(smsc95xx: fix error handling
    in suspend failure case).
    
    Cc: <stable@vger.kernel.org>		[3.8]
    Cc: Steve Glendinning <steve.glendinning@shawell.net>
    Signed-off-by: NMing Lei <ming.lei@canonical.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    76437214
smsc95xx.c 50.2 KB