Commit 5a3353b
wifi: mt76: mt7996: Remove link pointer dependency in mt7996_mac_sta_remove_links()
[ Upstream commit 569ce43 ]
Remove link pointer dependency in mt7996_mac_sta_remove_links routine to
get the mt7996_phy pointer since the link can be already offchannel
running mt7996_mac_sta_remove_links(). Rely on __mt7996_phy routine
instead.
Fixes: 344dd6a ("wifi: mt76: mt7996: Move num_sta accounting in mt7996_mac_sta_{add,remove}_links")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260306-mt7996-deflink-lookup-link-remove-v1-1-7162b332873c@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 7da35e2 commit 5a3353b
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | | - | |
1051 | | - | |
| 1050 | + | |
1052 | 1051 | | |
1053 | 1052 | | |
1054 | 1053 | | |
| |||
1057 | 1056 | | |
1058 | 1057 | | |
1059 | 1058 | | |
1060 | | - | |
1061 | 1059 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | 1060 | | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1069 | 1064 | | |
1070 | | - | |
1071 | 1065 | | |
1072 | 1066 | | |
1073 | 1067 | | |
| |||
0 commit comments