diff options
| author | Felix Fietkau <[email protected]> | 2024-01-04 19:10:59 +0100 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-01-18 14:51:15 +0100 |
| commit | bcbc84af1183c8cf3d1ca9b78540c2185cd85e7f (patch) | |
| tree | 456b103b61c063ea6e967c61000d823f13b59320 /drivers/usb/cdns3/cdns3-trace.c | |
| parent | cf4a0d840ecc72fcf16198d5e9c505ab7d5a5e4d (diff) | |
wifi: mac80211: fix race condition on 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 <[email protected]>
Link: https://msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions