Ivo van Doorn 9896322ae1 rt2x00: Ignore set_state(STATE_SLEEP) failure
Some hardware never seem to accept the "goto sleep" command, since the legacy
drivers don't have suspend and resume handlers the entire code for it was
basically a educated guess (based on the "enable radio" code).
This patch will only print a warning when the "goto sleep" command fails, and
just continues as usual. Perhaps that means the device will not reach a sleep
state and consumes more power then it should, but it is equally possible it
simply needs some seconds longer to sleep. Anyway, by making the command
non-fatal it will not block the rest of the suspend procedure.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-03-27 14:51:39 -04:00
..
2008-01-31 19:26:51 -08:00
2008-02-20 20:11:55 -05:00
2008-01-28 15:09:05 -08:00
2007-10-10 16:51:13 -07:00
2008-03-24 19:25:08 -04:00
2008-01-28 15:09:11 -08:00
2008-02-05 09:44:22 -08:00
2008-01-28 15:03:32 -08:00
2008-01-28 15:09:11 -08:00
2008-03-04 18:36:39 -05:00
2008-01-28 15:09:35 -08:00
2008-02-20 20:11:49 -05:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-02-20 20:11:49 -05:00
2008-01-28 15:09:35 -08:00
2008-01-28 15:09:35 -08:00
2008-03-24 19:25:07 -04:00