diff options
| author | Felix Fietkau <nbd@nbd.name> | 2025-08-27 11:53:50 +0300 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2025-08-27 12:27:57 +0300 |
| commit | 065c79df595af21d6d1b27d642860faa1d938774 (patch) | |
| tree | 32bf0af59c5c21c38260e7c5bbac21f465d4fa0f /lib/test_dynamic_debug.c | |
| parent | 4a522b01e368eec58d182ecc47d24f49a39e440d (diff) | |
| download | linux-065c79df595af21d6d1b27d642860faa1d938774.tar.xz | |
wifi: mt76: mt7915: fix list corruption after hardware restart
Since stations are recreated from scratch, all lists that wcids are added
to must be cleared before calling ieee80211_restart_hw.
Set wcid->sta = 0 for each wcid entry in order to ensure that they are
not added again before they are ready.
Fixes: 8a55712d124f ("wifi: mt76: mt7915: enable full system reset support")
Link: https://patch.msgid.link/20250827085352.51636-4-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
