linux/drivers/net/wireless/ath
Len Brown b18188e87f wifi: ath11k: allow system suspend to survive ath11k
commit 7c15430822 upstream.

When ath11k runs into internal errors upon suspend,
it returns an error code to pci_pm_suspend, which
aborts the entire system suspend.

The driver should not abort system suspend, but should
keep its internal errors to itself, and allow the system
to suspend.  Otherwise, a user can suspend a laptop
by closing the lid and sealing it into a case, assuming
that is will suspend, rather than heating up and draining
the battery when in transit.

In practice, the ath11k device seems to have plenty of transient
errors, and subsequent suspend cycles after this failure
often succeed.

https://bugzilla.kernel.org/show_bug.cgi?id=216968

Fixes: d1b0c33850 ("ath11k: implement suspend for QCA6390 PCI devices")

Signed-off-by: Len Brown <len.brown@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230201183201.14431-1-len.brown@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:22 +01:00
..
ar5523 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out 2022-12-31 13:32:59 +01:00
ath5k wifi: ath5k: fix repeated words in comments 2022-07-18 13:03:43 +03:00
ath6kl wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
ath9k wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect() 2023-03-10 09:33:47 +01:00
ath10k wifi: ath10k: Delay the unmapping of the buffer 2022-12-31 13:32:59 +01:00
ath11k wifi: ath11k: allow system suspend to survive ath11k 2023-03-10 09:34:22 +01:00
carl9170 wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
wcn36xx wifi: wcn36xx: fix repeated words in comments 2022-09-19 15:43:02 +03:00
wil6210 net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ath.h
debug.c
dfs_pattern_detector.c ath: dfs_pattern_detector: Avoid open coded arithmetic in memory allocation 2022-01-17 14:41:51 +02:00
dfs_pattern_detector.h
dfs_pri_detector.c
dfs_pri_detector.h
hw.c wifi: ath: fix repeated words in comments 2022-07-18 13:04:50 +03:00
Kconfig
key.c
main.c
Makefile
reg.h
regd_common.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
regd.c Revert "ath: add support for special 0x0 regulatory domain" 2022-03-07 19:45:08 +02:00
regd.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
spectral_common.h ath: Replace zero-length arrays with flexible-array members 2022-02-21 12:26:28 +02:00
trace.c
trace.h tracing/ath: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00