diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-08-19 13:40:51 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-08-19 13:46:00 +0200 |
commit | 91c84e87c249f6968eeedf377a001b0b2132a7ca (patch) | |
tree | 007cedef87835d4574e291aa64908471abf72578 /package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch | |
parent | b8b7d4cbca67bdba3f3d31e4da99fc850cb61168 (diff) | |
download | upstream-91c84e87c249f6968eeedf377a001b0b2132a7ca.tar.gz upstream-91c84e87c249f6968eeedf377a001b0b2132a7ca.tar.bz2 upstream-91c84e87c249f6968eeedf377a001b0b2132a7ca.zip |
mac80211: rt2x00: clear IV's on start to fix AP mode regression
To do not brake HW restart we should keep initialization vectors data.
I assumed that on start the data is already initialized to zeros, but
that not true on some scenarios and we should clear it. So add
additional flag to check if we are under HW restart and clear IV's
data if we are not.
Patch fixes AP mode regression.
Patch pending on linux-wireless and imported from patchwork.
Fixes: 0b2c42ced21a ("mac80211: Update to version 5.2-rc7")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch')
-rw-r--r-- | package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch b/package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch index ed2f6173b5..76a2d1c2ca 100644 --- a/package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch +++ b/package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch @@ -8,7 +8,7 @@ #include "rt2x00.h" #include "rt2800lib.h" -@@ -9526,6 +9527,17 @@ static int rt2800_init_eeprom(struct rt2 +@@ -9535,6 +9536,17 @@ static int rt2800_init_eeprom(struct rt2 rt2800_init_led(rt2x00dev, &rt2x00dev->led_assoc, LED_TYPE_ASSOC); rt2800_init_led(rt2x00dev, &rt2x00dev->led_qual, LED_TYPE_QUALITY); |