]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: export persistent attribute in sysfs
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tue, 16 Jun 2009 13:54:04 +0000 (14:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Jun 2009 15:50:18 +0000 (11:50 -0400)
commit91a2130357e1ebd55a3b12a385360c2537276e2b
treecc243de464a7935291c52ac93d6bd0a24c6c08c5
parent8300c980562e1ea482d0d6c0b2599fbe8e4d20bc
rfkill: export persistent attribute in sysfs

This information allows userspace to implement a hybrid policy where
it can store the rfkill soft-blocked state in platform non-volatile
storage if available, and if not then file-based storage can be used.

Some users prefer platform non-volatile storage because of the behaviour
when dual-booting multiple versions of Linux, or if the rfkill setting
is changed in the BIOS setting screens, or if the BIOS responds to
wireless-toggle hotkeys itself before the relevant platform driver has
been loaded.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/rfkill.txt
include/linux/rfkill.h
net/rfkill/core.c