Commit 3e56c80
wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
Fix ath9k_hw_verify_hang()/ar9003_hw_detect_mac_hang() register offset
calculation (do not overflow the shift for the second register/queues
above five, use the register layout described in the comments above
ath9k_hw_verify_hang() instead).
Fixes: 222e048 ("ath9k: Fix MAC HW hang check for AR9003")
Reported-by: Gregg Wonderly <greggwonderly@seqtechllc.com>
Link: https://lore.kernel.org/linux-wireless/E3A9C354-0CB7-420C-ADEF-F0177FB722F4@seqtechllc.com/
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230422212423.26065-1-ps.report@gmx.net1 parent e671fb8 commit 3e56c80
1 file changed
Lines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
| 1102 | + | |
1102 | 1103 | | |
1103 | 1104 | | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
1109 | 1112 | | |
| 1113 | + | |
| 1114 | + | |
1110 | 1115 | | |
1111 | 1116 | | |
1112 | | - | |
| 1117 | + | |
1113 | 1118 | | |
1114 | 1119 | | |
1115 | 1120 | | |
| |||
1128 | 1133 | | |
1129 | 1134 | | |
1130 | 1135 | | |
| 1136 | + | |
1131 | 1137 | | |
1132 | 1138 | | |
1133 | 1139 | | |
| |||
1139 | 1145 | | |
1140 | 1146 | | |
1141 | 1147 | | |
1142 | | - | |
| 1148 | + | |
1143 | 1149 | | |
1144 | | - | |
| 1150 | + | |
| 1151 | + | |
1145 | 1152 | | |
| 1153 | + | |
| 1154 | + | |
1146 | 1155 | | |
1147 | | - | |
| 1156 | + | |
1148 | 1157 | | |
1149 | 1158 | | |
1150 | 1159 | | |
| |||
0 commit comments