]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7996: fix locking in mt7996_mac_sta_rc_work()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Mar 2025 18:44:25 +0000 (19:44 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Mar 2025 18:44:25 +0000 (19:44 +0100)
commit1794d7ab34d2221ac7eb921b171e75b856e10561
tree1875f98906df270c9ca0bb7992cf2c5ab5821197
parent90c80211559ee8e9b6104cb3cb519a6ac3155a2a
wifi: mt76: mt7996: fix locking in mt7996_mac_sta_rc_work()

The 'continue' statements need to be under spinlock, since
the spinlock needs to be held as a loop invariant.

Fixes: 0762bdd30279 ("wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c