mac80211: make LED trigger names available early
authorJohannes Berg <johannes.berg@intel.com>
Sat, 27 Nov 2010 19:02:59 +0000 (20:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 19:33:37 +0000 (14:33 -0500)
commitfe67c913f1ec2a01aaa9176c80ef36eaf87d705d
tree4ac91b417d1693ac9b49cf46872bd90c4dceae2b
parent63e35cd9bd4c8ae085c8b9a70554595b529c4100
mac80211: make LED trigger names available early

The throughput trigger will require doing LED
classdev/trigger handling before register_hw(),
so drivers should have access to the trigger
names before it. If trigger registration fails,
this will still make the trigger name available,
but that's not a big problem since the default
trigger will the simply not be found.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/led.c
net/mac80211/led.h
net/mac80211/main.c