rfkill: Create rfkill-none LED trigger
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Tue, 22 May 2018 21:29:32 +0000 (14:29 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 May 2018 09:26:45 +0000 (11:26 +0200)
commit232aa23ec354029a58280e79d815ee4746c0bbb2
tree0cf561db57b6cadfd2907e3ae7fc655b37f453ee
parentd874cd74306694433b5b2c5ce32ddba48fbc360e
rfkill: Create rfkill-none LED trigger

Creates a new trigger rfkill-none, as a complement to rfkill-any, which
drives LEDs when any radio is enabled. The new trigger is meant to turn
a LED ON whenever all radios are OFF, and turn it OFF otherwise.

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c