diff options
author | Felix Fietkau <nbd@nbd.name> | 2025-08-27 10:53:47 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-08-27 11:27:57 +0200 |
commit | 0300545b8a113e96ee260a7c142be846d391a620 (patch) | |
tree | 1c3daff48a1694160fed120ecb33629c4812e715 /rust/kernel/task.rs | |
parent | 4be3b46ec5190dc79cd38e3750480b2c66a791ad (diff) |
wifi: mt76: mt7996: fix crash on some tx status reports
When a wcid can't be found, link_sta can be stale from a previous batch.
The code currently assumes that if link_sta is set, wcid is also non-zero.
Fix wcid NULL pointer dereference by resetting link_sta when a wcid entry
can't be found.
Fixes: 62da647a2b20 ("wifi: mt76: mt7996: Add MLO support to mt7996_tx_check_aggr()")
Link: https://patch.msgid.link/20250827085352.51636-1-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions