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/984-rt2x00-add-rxdcoc-calibration.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/984-rt2x00-add-rxdcoc-calibration.patch')
-rw-r--r-- | package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch b/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch index 3a638f82e3..1dd4746be9 100644 --- a/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch +++ b/package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c -@@ -8623,6 +8623,71 @@ void rt2800_r_calibration(struct rt2x00_ +@@ -8632,6 +8632,71 @@ void rt2800_r_calibration(struct rt2x00_ } EXPORT_SYMBOL_GPL(rt2800_r_calibration); @@ -72,7 +72,7 @@ static void rt2800_bbp_core_soft_reset(struct rt2x00_dev *rt2x00dev, bool set_bw, bool is_ht40) { -@@ -9232,6 +9297,7 @@ static void rt2800_init_rfcsr_6352(struc +@@ -9241,6 +9306,7 @@ static void rt2800_init_rfcsr_6352(struc rt2800_r_calibration(rt2x00dev); rt2800_rf_self_txdc_cal(rt2x00dev); |