Skip to content
Commit 18688c80 authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg
Browse files

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: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Reported-by: default avatarRobert W <rwbugreport@lost-in-the-void.net>
Fixes: 03c3911d

 ("mac80211: call ieee80211_tx_h_rate_ctrl() when dequeue")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Tested-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Link: https://lore.kernel.org/r/20211122204323.9787-1-nbd@nbd.name
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d5e568c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment