Commit 783cd01
ath9k: add missing ps wakeup/restore calls
There are several places where ath_reset() was called without proper
calls to ath9k_ps_wakeup/ath9k_ps_restore. To fix this, add those calls
directly to ath_reset and drop them from callers where it makes sense.
Also add them to the config callback around ath_update_txpow to fix a
crash that happens when the tx power changed before any vif is brought up.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>1 parent 6f48101 commit 783cd01
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
596 | | - | |
597 | 595 | | |
598 | 596 | | |
599 | | - | |
600 | 597 | | |
601 | 598 | | |
602 | 599 | | |
| 600 | + | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
| |||
969 | 967 | | |
970 | 968 | | |
971 | 969 | | |
| 970 | + | |
972 | 971 | | |
973 | 972 | | |
974 | 973 | | |
| |||
1015 | 1014 | | |
1016 | 1015 | | |
1017 | 1016 | | |
| 1017 | + | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
| |||
1701 | 1701 | | |
1702 | 1702 | | |
1703 | 1703 | | |
| 1704 | + | |
1704 | 1705 | | |
| 1706 | + | |
1705 | 1707 | | |
1706 | 1708 | | |
1707 | 1709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | | - | |
2117 | 2116 | | |
2118 | | - | |
2119 | 2117 | | |
2120 | 2118 | | |
2121 | 2119 | | |
| |||
0 commit comments