]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rfkill: clarify meaning of rfkill states
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 23 Jun 2008 20:22:56 +0000 (17:22 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Jun 2008 18:21:19 +0000 (14:21 -0400)
commitf3146aff7f283c8699e0c97df6307a705786eeba
tree40320f74bf2408f814960d6e2772e6100eed6e7c
parent1839cea91e5629756dd4f87c5d70d8a18b89c0b4
rfkill: clarify meaning of rfkill states

rfkill really should have been named rfswitch.  As it is, one can get
confused whether RFKILL_STATE_ON means the KILL switch is on (and
therefore, the radio is being *blocked* from operating), or whether it
means the RADIO rf output is on.

Clearly state that RFKILL_STATE_ON means the radio is *unblocked* from
operating (i.e. there is no rf killing going on).

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Documentation/rfkill.txt
include/linux/rfkill.h