mirror_ubuntu-kernels/drivers/net/wireless
Ahmad Fatoum d745ca4f2c brcmfmac: pcie: fix oops on failure to resume and reprobe
When resuming from suspend, brcmf_pcie_pm_leave_D3 will first attempt a
hot resume and then fall back to removing the PCI device and then
reprobing. If this probe fails, the kernel will oops, because brcmf_err,
which is called to report the failure will dereference the stale bus
pointer. Open code and use the default bus-less brcmf_err to avoid this.

Fixes: 8602e62441 ("brcmfmac: pass bus to the __brcmf_err() in pcie.c")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210817063521.22450-1-a.fatoum@pengutronix.de
2021-08-29 14:45:29 +03:00
..
admtek module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ath ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point() 2021-08-29 10:12:50 +03:00
atmel module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
broadcom brcmfmac: pcie: fix oops on failure to resume and reprobe 2021-08-29 14:45:29 +03:00
cisco airo: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
intel iwlwifi: mvm: don't use FW key ID in beacon protection 2021-08-26 23:38:18 +03:00
intersil wireless-drivers-next patches for v5.15 2021-08-23 11:59:49 +01:00
marvell mwifiex: make arrays static const, makes object smaller 2021-08-21 20:50:23 +03:00
mediatek wireless-drivers fixes for v5.14 2021-08-17 15:08:14 -07:00
microchip wilc1000: Convert module-global "isinit" to device-specific variable 2021-08-29 11:33:36 +03:00
quantenna qtnfmac: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:57 +01:00
ralink rt2x00: do not set timestamp for injected frames 2021-06-15 16:36:20 +03:00
realtek rtlwifi: rtl8192de: Fix initialization of place in _rtl92c_phy_get_rightchnlplace() 2021-08-29 10:28:32 +03:00
rsi rsi: make array fsm_state static const, makes object smaller 2021-08-29 11:32:01 +03:00
st cw1200: Revert unnecessary patches that fix unreal use-after-free bugs 2021-06-15 16:41:22 +03:00
ti Driver core changes for 5.14-rc1 2021-07-05 13:51:41 -07:00
zydas zd1211rw: Prefer pr_err over printk error msg 2021-06-15 16:37:01 +03:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: record stats in non-netlink path 2021-06-23 11:29:13 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: Split memcpy() to avoid bounds check warning 2021-08-21 20:15:36 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: simplify is_associated() 2021-06-15 16:34:19 +03:00
virt_wifi.c virt_wifi: fix error on connect 2021-07-23 10:34:31 +02:00
wl3501_cs.c wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00