]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit750644d8c2d0b2805a376c0a77bdc438fad452e0
treeb0d26db2560c15a72c256e076b5e41433c440922
parentdf498b048722bf688dac2b36a24247204dad8ff3
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