aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <[email protected]>2008-06-23 17:23:02 -0300
committerJohn W. Linville <[email protected]>2008-06-26 14:21:20 -0400
commit526324b61a9667ed9a71f0a8a8899cf675346c76 (patch)
tree4a7697c0987ab4869f2760f06e1ba8e487a91af8 /tools/perf/scripts/python
parent477576a073699783abb53ae14993d5d41c66301d (diff)
rfkill: rework suspend and resume handlers
The resume handler should reset the wireless transmitter rfkill state to exactly what it was when the system was suspended. Do it, and do it using the normal routines for state change while at it. The suspend handler should force-switch the transmitter to blocked state, ignoring caches. Do it. Also take an opportunity shot to rfkill_remove_switch() and also force the transmitter to blocked state there, bypassing caches. Signed-off-by: Henrique de Moraes Holschuh <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions