Commit e54c644
wifi: mt76: mt7996: Switch to the secondary link if the default one is removed
[ Upstream commit 5ef44c2 ]
Switch to the secondary link if available in mt7996_mac_sta_remove_links
routine if the primary one is removed.
Moreover reset secondary link index for single link scenario.
Fixes: 85cd553 ("wifi: mt76: mt7996: use correct link_id when filling TXD and TXP")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251205-mt76-txq-wicd-fix-v2-3-f19ba48af7c1@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stable-dep-of: e648051 ("wifi: mt76: mt7996: Decrement sta counter removing the link in mt7996_mac_reset_sta_iter()")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent d6f6b3a commit e54c644
2 files changed
Lines changed: 41 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2406 | 2406 | | |
2407 | 2407 | | |
2408 | 2408 | | |
2409 | | - | |
2410 | | - | |
2411 | | - | |
2412 | | - | |
2413 | | - | |
2414 | | - | |
2415 | | - | |
| 2409 | + | |
| 2410 | + | |
2416 | 2411 | | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2417 | 2415 | | |
2418 | 2416 | | |
2419 | 2417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
964 | 980 | | |
965 | 981 | | |
966 | 982 | | |
| |||
978 | 994 | | |
979 | 995 | | |
980 | 996 | | |
981 | | - | |
982 | | - | |
983 | 997 | | |
984 | 998 | | |
985 | 999 | | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
| 1000 | + | |
996 | 1001 | | |
997 | 1002 | | |
998 | 1003 | | |
| |||
1070 | 1075 | | |
1071 | 1076 | | |
1072 | 1077 | | |
1073 | | - | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1074 | 1094 | | |
1075 | | - | |
| 1095 | + | |
1076 | 1096 | | |
1077 | 1097 | | |
1078 | | - | |
| 1098 | + | |
| 1099 | + | |
1079 | 1100 | | |
1080 | 1101 | | |
1081 | 1102 | | |
| |||
0 commit comments