diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-06-23 17:23:02 -0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-26 14:21:20 -0400 |
commit | 526324b61a9667ed9a71f0a8a8899cf675346c76 (patch) | |
tree | 4a7697c0987ab4869f2760f06e1ba8e487a91af8 /include | |
parent | 477576a073699783abb53ae14993d5d41c66301d (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 <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions