diff options
author | Daniel Drake <dsd@laptop.org> | 2012-09-03 21:49:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-05 20:53:36 +0200 |
commit | f10723841e624c0726c70356b31d91befed01dd6 (patch) | |
tree | 07a8b8b5d035aa239fd020acd4966bac81594c97 /drivers/bcma | |
parent | rt2800usb: Added rx packet length validity check (diff) | |
download | linux-f10723841e624c0726c70356b31d91befed01dd6.tar.xz linux-f10723841e624c0726c70356b31d91befed01dd6.zip |
libertas sdio: fix suspend when interface is down
When the interface is down, the hardware is powered off.
However, the suspend handler currently tries to send host sleep commands
(when wakeup params are set) in this configuration, causing a system hang
when going into suspend (the commands will never complete).
Avoid this by detecting this situation and simply returning from
the suspend handler without doing anything special.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions