]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: Add support for KEY_RFKILL
authorMatthew Garrett <mjg@redhat.com>
Tue, 16 Feb 2010 21:36:25 +0000 (16:36 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Mar 2010 19:28:49 +0000 (14:28 -0500)
commit74ce5e7f69c24c3b5ba1bc45b840f274d3e944d0
tree9f0a57f92e3aadf10c033685485f2d1b50569b78
parent95f17de88f4f163763cc7e3fc29839d6c2ccf215
rfkill: Add support for KEY_RFKILL

Add support for handling KEY_RFKILL in the rfkill input module. This
simply toggles the state of all rfkill devices. The comment in rfkill.h
is also updated to reflect that RFKILL_TYPE_ALL may be used inside the
kernel.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/rfkill.h
net/rfkill/input.c