2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/silabs/wfx
Yuan Can 3b88a98767 wifi: wfx: Fix error handling in wfx_core_init()
The wfx_core_init() returns without checking the retval from
sdio_register_driver().
If the sdio_register_driver() failed, the module failed to install,
leaving the wfx_spi_driver not unregistered.

Fixes: a7a91ca5a2 ("staging: wfx: add infrastructure for new driver")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241022090453.84679-1-yuancan@huawei.com
2024-10-31 16:18:42 +02:00
..
bh.c
bh.h
bus_sdio.c wifi: wfx: drop driver owner initialization 2024-04-04 11:09:12 +02:00
bus_spi.c net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
bus.h
data_rx.c
data_rx.h
data_tx.c wifi: wfx: fix case where rates are out of order 2023-10-09 09:54:14 +03:00
data_tx.h wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
debug.c
debug.h
fwio.c wifi: wfx: Remove redundant NULL check before release_firmware() call 2022-06-10 10:38:55 +03:00
fwio.h
hif_api_cmd.h
hif_api_general.h
hif_api_mib.h
hif_rx.c
hif_rx.h
hif_tx_mib.c
hif_tx_mib.h
hif_tx.c wifi: wfx: introduce hif_scan_uniq() 2023-10-09 09:53:07 +03:00
hif_tx.h wifi: wfx: introduce hif_scan_uniq() 2023-10-09 09:53:07 +03:00
hwio.c
hwio.h
Kconfig
key.c
key.h
main.c wifi: wfx: Fix error handling in wfx_core_init() 2024-10-31 16:18:42 +02:00
main.h
Makefile
queue.c wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
queue.h wifi: wfx: allow to send frames during ROC 2023-10-09 09:53:07 +03:00
scan.c wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00
scan.h wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00
sta.c wifi: wfx: repair open network AP mode 2024-08-27 10:49:26 +03:00
sta.h wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
traces.h
wfx.h wifi: wfx: implement wfx_remain_on_channel() 2023-10-09 09:53:08 +03:00