diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-11-22 21:43:23 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-11-26 11:35:32 +0100 |
commit | 18688c80ad8a8dd50523dc9276e929932cac86d4 (patch) | |
tree | 9e67484c21fb38ba187cfce158955e297075b034 /net/mac80211/agg-tx.c | |
parent | mac80211: track only QoS data frames for admission control (diff) | |
download | linux-18688c80ad8a8dd50523dc9276e929932cac86d4.tar.xz linux-18688c80ad8a8dd50523dc9276e929932cac86d4.zip |
mac80211: fix rate control for retransmitted frames
Since retransmission clears info->control, rate control needs to be called
again, otherwise the driver might crash due to invalid rates.
Cc: stable@vger.kernel.org # 5.14+
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reported-by: Robert W <rwbugreport@lost-in-the-void.net>
Fixes: 03c3911d2d67 ("mac80211: call ieee80211_tx_h_rate_ctrl() when dequeue")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Link: https://lore.kernel.org/r/20211122204323.9787-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/agg-tx.c')
0 files changed, 0 insertions, 0 deletions