]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7996: Move num_sta accounting in mt7996_mac_sta_{add,remove}_links
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 4 Jul 2025 13:08:13 +0000 (15:08 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 7 Jul 2025 16:03:30 +0000 (18:03 +0200)
commit344dd6a4c91960d9640ab15770efd18526ac3fa3
tree39b2b6e34622426b2d0a0e65b93bdf65687c71ed
parent62da647a2b20fc0b8d47c7d11880d95927300305
wifi: mt76: mt7996: Move num_sta accounting in mt7996_mac_sta_{add,remove}_links

Move phy num_sta accounting in mt7996_mac_sta_add() and
mt7996_mac_sta_remove() routines in order to take into account all
possibles MLO links.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250704-mt7996-mlo-fixes-v1-9-356456c73f43@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/main.c