summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-03-27 17:15:24 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-03-27 14:51:39 -0400
commit9896322ae180e3520edec71e2480318e7196119c (patch)
treeb7832d49114fd885d3c456bac740e9feae8a9b53 /net/llc
parentebd9302842ecae39061b269531c0f5e278949cd3 (diff)
downloadlinux-3.10-9896322ae180e3520edec71e2480318e7196119c.tar.gz
linux-3.10-9896322ae180e3520edec71e2480318e7196119c.tar.bz2
linux-3.10-9896322ae180e3520edec71e2480318e7196119c.zip
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>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions