mirror-linux/drivers/net/wireless
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
..
admtek
ath wifi: ath11k: allow system suspend to survive ath11k 2023-03-10 09:34:22 +01:00
atmel wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
broadcom wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds 2023-03-10 09:33:49 +01:00
cisco wifi: airo: do not assign -1 to unsigned char 2022-11-01 11:15:15 +02:00
intel wifi: iwl4965: Add missing check for create_singlethread_workqueue() 2023-03-10 09:33:03 +01:00
intersil wifi: orinoco: check return value of hermes_write_wordrec() 2023-03-10 09:32:54 +01:00
marvell wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize() 2023-03-10 09:33:03 +01:00
mediatek wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup 2023-03-10 09:33:51 +01:00
microchip wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init() 2023-03-10 09:32:50 +01:00
purelifi wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() 2022-12-31 13:32:18 +01:00
quantenna treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
ralink wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
realtek wifi: rtl8xxxu: Use a longer retry limit of 48 2023-03-10 09:34:22 +01:00
rsi wifi: rsi: Fix memory leak in rsi_coex_attach() 2023-03-10 09:32:48 +01:00
silabs wifi: wfx: prevent underflow in wfx_send_pds() 2022-09-02 11:44:35 +03:00
st treewide: use get_random_{u8,u16}() when possible, part 1 2022-10-11 17:42:58 -06:00
ti treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
zydas
Kconfig
Makefile
mac80211_hwsim.c wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support 2022-10-21 12:37:28 +02:00
mac80211_hwsim.h
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid 2023-02-01 08:34:18 +01:00
virt_wifi.c
wl3501.h
wl3501_cs.c wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave() 2023-03-10 09:32:51 +01:00