Felix Fietkau 9325da80ab mac80211: fix a race condition related to enabling fast-xmit
fast-xmit must only be enabled after the sta has been uploaded to the driver,
otherwise it could end up passing the not-yet-uploaded sta via drv_tx calls
to the driver, leading to potential crashes because of uninitialized drv_priv
data.
Add a missing sta->uploaded check and re-check fast xmit after inserting a sta.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 438a97fab69b41387e25cbec45271e7fe159a330)
2024-01-04 19:09:43 +01:00
..
2023-03-05 01:32:08 +01:00
2022-12-10 15:15:19 +01:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00