diff options
author | Ming Lei <ming.lei@canonical.com> | 2013-02-22 03:05:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-25 20:49:51 (GMT) |
commit | 7643721471117d5f62ca36f328d3dc8d84af4402 (patch) | |
tree | ed2b949b490332f95c6f802ad1a45b1ea6ba6f8a /net/batman-adv/originator.c | |
parent | 70a737b795d1d2fa0c1b54b8b7870c86cedd03ac (diff) | |
download | linux-fsl-qoriq-7643721471117d5f62ca36f328d3dc8d84af4402.tar.xz |
usbnet: smsc95xx: fix suspend failure
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: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/originator.c')
0 files changed, 0 insertions, 0 deletions