diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-05-11 19:12:09 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-05-11 19:16:04 +0200 |
commit | 658358cec93a7130615cfc1d6843ab07e49625e6 (patch) | |
tree | b0d26db2560c15a72c256e076b5e41433c440922 /net/mac80211/ieee80211_i.h | |
parent | 890b7878e4435518c45d80c5e33c335aab39d4e2 (diff) | |
download | linux-rt-658358cec93a7130615cfc1d6843ab07e49625e6.tar.gz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 241b74f3bd81..2c4fe45ea38a 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1038,7 +1038,6 @@ enum queue_stop_reason { #ifdef CONFIG_MAC80211_LEDS struct tpt_led_trigger { - struct led_trigger trig; char name[32]; const struct ieee80211_tpt_blink *blink_table; unsigned int blink_table_len; |