kernel-aes67/net/rfkill
Alan Jenkins 7fa20a7f60 rfkill: rfkill_set_block() when suspended nitpick
If we return after fiddling with the state, userspace will see the
wrong state and rfkill_set_sw_state() won't work until the next call to
rfkill_set_block().  At the moment rfkill_set_block() will always be
called from rfkill_resume(), but this will change in future.

Also, presumably the point of this test is to avoid bothering devices
which may be suspended.  If we don't want to call set_block(), we
probably don't want to call query() either :-).

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-19 11:50:17 -04:00
..
core.c rfkill: rfkill_set_block() when suspended nitpick 2009-06-19 11:50:17 -04:00
input.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
Kconfig rfkill: remove input Kconfig 2009-06-10 13:27:54 -04:00
Makefile rfkill: rewrite 2009-06-03 14:06:13 -04:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00