diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-09-27 16:36:25 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 13:46:14 +0100 |
commit | 6425791d350301b50f5e0332007723de7710d07e (patch) | |
tree | a52aff83a6b6c44da81f001c8de3c714d4c1b13a /drivers/rtc/rtc-mrst.c | |
parent | 8aa2c6f4714ecccbf1e149c6ff2fde5284e03be7 (diff) |
mt76: mt7915: fix processing txfree events
In the MT7915 info, the fields for the WLAN index / queue overlap with the
token id, and the MT_TX_FREE_PAIR bit indicates, which one is present.
If MT_TX_FREE_PAIR is set, skip processing the token index, since the data
will not be valid.
This fixes accidentally freeing tokens which are still in use by the
hardware with a wrong station pointer.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/rtc/rtc-mrst.c')
0 files changed, 0 insertions, 0 deletions