forked from mirror/openwrt
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
|
||
|---|---|---|
| .. | ||
| ath | ||
| ath5k | ||
| ath9k | ||
| ath10k | ||
| ath11k | ||
| brcm | ||
| build | ||
| mt7601u | ||
| mwl | ||
| rt2x00 | ||
| subsys | ||