]> asedeno.scripts.mit.edu Git - linux.git/commit
rfkill: Add rfkill-any LED trigger
authorMichał Kępień <kernel@kempniu.pl>
Fri, 6 Jan 2017 06:07:47 +0000 (07:07 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 9 Jan 2017 10:40:33 +0000 (11:40 +0100)
commit9b8e34e211b15af429b72388a8f2b3b1823d172e
tree15c992ee506d4a259b6e0740da80c1fcaa4a8a68
parente691ac2f75b69bee743f0370d79454ba4429b175
rfkill: Add rfkill-any LED trigger

Add a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any,
which may be useful on laptops with a single "radio LED" and multiple
radio transmitters.  The trigger is meant to turn a LED on whenever
there is at least one radio transmitter active and turn it off
otherwise.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c