mac80211: fix throughput LED trigger
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 May 2015 17:12:09 +0000 (19:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 May 2015 17:16:04 +0000 (19:16 +0200)
commit658358cec93a7130615cfc1d6843ab07e49625e6
treeb0d26db2560c15a72c256e076b5e41433c440922
parent890b7878e4435518c45d80c5e33c335aab39d4e2
mac80211: fix throughput LED trigger

As I was testing with hwsim, I missed that my previous commit to
make LED work depend on activation broke the code because I missed
removing the old trigger struct and some code was still using it,
now erroneously, causing crashes.

Fix this by always using the correct struct.

Reported-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/led.c