enhance sysfs rfkill interface
authorflorian@mickler.org <florian@mickler.org>
Fri, 26 Feb 2010 11:01:34 +0000 (12:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:09:34 +0000 (17:09 -0500)
commit6c26361e4be3cf0dad7083e38ca52001a987e3e6
tree4638fff76e14e4a8ab6de035a8e3ee47cb7bfae1
parent69c86373c6ea1149aa559e6088362d58d8ec8835
enhance sysfs rfkill interface

This commit introduces two new sysfs knobs.

/sys/class/rfkill/rfkill[0-9]+/blocked_hw: (ro)
hardblock kill state
/sys/class/rfkill/rfkill[0-9]+/blocked_sw: (rw)
softblock kill state

Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/ABI/stable/sysfs-class-rfkill
net/rfkill/core.c