linux/drivers/net/wireless
Andreas Färber ac4bac9916 rtw88: Fix potential probe error handling race with wow firmware loading
If rtw_core_init() fails to load the wow firmware, rtw_core_deinit()
will not get called to clean up the regular firmware.

Ensure that an error loading the wow firmware does not produce an oops
for the regular firmware by waiting on its completion to be signalled
before returning. Also release the loaded firmware.

Fixes: c8e5695eae ("rtw88: load wowlan firmware if wowlan is supported")
Cc: Chin-Yen Lee <timlee@realtek.com>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200920132621.26468-3-afaerber@suse.de
2020-09-24 18:49:56 +03:00
..
admtek adm8211: switch from 'pci_' to 'dma_' API 2020-08-18 15:51:41 +03:00
ath wireless-drivers-next patches for v5.10 2020-09-11 13:32:31 -07:00
atmel atmel: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:02 +03:00
broadcom brcmfmac: check return value of driver_for_each_device() 2020-09-24 18:47:55 +03:00
cisco airo: switch from 'pci_' to 'dma_' API 2020-09-16 08:56:43 +03:00
intel wireless-drivers-next patches for v5.10 2020-09-11 13:32:31 -07:00
intersil prism54: isl_ioctl: Remove unused variable 'j' 2020-09-01 16:14:51 +03:00
marvell mwifiex: remove function pointer check 2020-09-09 10:30:28 +03:00
mediatek mt7601u: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-22 10:15:21 +03:00
microchip net: wilc1000: clean up resource in error path of init mon interface 2020-09-21 16:02:13 +03:00
quantenna qtnfmac: Remove unused macro QTNF_DMP_MAX_LEN 2020-09-16 09:09:17 +03:00
ralink rt2x00: convert tasklets to use new tasklet_setup() API 2020-08-27 16:22:13 +03:00
realtek rtw88: Fix potential probe error handling race with wow firmware loading 2020-09-24 18:49:56 +03:00
rsi rsi: rsi_91x_sdio_ops: File headers are not good kernel-doc candidates 2020-09-01 16:14:49 +03:00
st cw1200: wsm: Remove 'dummy' variables 2020-09-01 12:02:43 +03:00
ti wlcore: Remove unused function no_write_handler() 2020-09-22 10:14:42 +03:00
zydas zd1211rw: zd_chip: Correct misspelled function argument 2020-09-01 16:14:41 +03:00
Kconfig wireless-drivers-next patches for v5.9 2020-07-20 17:52:50 -07:00
mac80211_hwsim.c mac80211: rename csa counters to countdown counters 2020-08-27 14:12:15 +02:00
mac80211_hwsim.h mac80211_hwsim: notify wmediumd of used MAC addresses 2020-04-24 11:45:47 +02:00
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
ray_cs.c ray_cs: use true,false for bool variable 2020-05-06 11:33:23 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: tighten check of rndis_query_oid return 2020-08-18 15:52:45 +03:00
virt_wifi.c
wl3501_cs.c wl3501_cs: Fix a bunch of formatting issues related to function docs 2020-09-01 16:14:47 +03:00
wl3501.h