1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/realtek/rtw88
William Dean 42bbf810e1 wifi: rtw88: check the return value of alloc_workqueue()
The function alloc_workqueue() in rtw_core_init() can fail, but
there is no check of its return value. To fix this bug, its return value
should be checked with new error handling code.

Fixes: fe101716c7 ("rtw88: replace tx tasklet with work queue")
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: William Dean <williamsukatube@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220723063756.2956189-1-williamsukatube@163.com
2022-07-29 16:35:53 +03:00
..
bf.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
bf.h rtw88: don't check CRC of VHT-SIG-B in 802.11ac signal 2021-12-20 20:49:02 +02:00
coex.c rtw88: coex: Add C2H/H2C handshake with BT mailbox for asking HID Info 2022-02-21 10:49:20 +02:00
coex.h rtw88: coex: Add C2H/H2C handshake with BT mailbox for asking HID Info 2022-02-21 10:49:20 +02:00
debug.c wifi: rtw88: use %*ph to print small buffer 2022-06-08 11:07:47 +03:00
debug.h rtw88: change rtw_info() to proper message level 2022-02-22 17:31:13 +02:00
efuse.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
efuse.h rtw88: set power trim according to efuse PG values 2020-04-21 16:00:21 +03:00
fw.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
fw.h wifi: rtw88: add a work to correct atomic scheduling warning of ::set_tim 2022-05-30 12:15:07 +03:00
hci.h rtw88: add flush hci support 2021-04-11 12:24:31 +03:00
Kconfig rtw88: 8821c: Add 8821CE to Kconfig and Makefile 2020-07-15 12:08:16 +03:00
mac.c rtw88: use the correct bit in the REG_HCI_OPT_CTRL register 2022-04-27 07:58:00 +03:00
mac.h rtw88: 8822c: support FW crash dump when FW crash 2021-03-15 10:27:13 +02:00
mac80211.c wifi: mac80211: replace link_id with link_conf in start/stop_ap() 2022-07-15 11:43:17 +02:00
main.c wifi: rtw88: check the return value of alloc_workqueue() 2022-07-29 16:35:53 +03:00
main.h rtw88: 8821c: fix access const table of channel parameters 2022-06-10 10:46:06 +03:00
Makefile rtw88: support SAR via kernel common API 2021-12-21 20:22:38 +02:00
pci.c rtw88: remove a copy of the NAPI_POLL_WEIGHT define 2022-05-02 17:38:48 +03:00
pci.h rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE 2021-12-20 20:48:10 +02:00
phy.c rtw88: add ieee80211:sta_rc_update ops 2022-04-12 16:52:05 +03:00
phy.h rtw88: support SAR via kernel common API 2021-12-21 20:22:38 +02:00
ps.c rtw88: don't consider deep PS mode when transmitting packet 2021-12-22 19:48:50 +02:00
ps.h rtw88: don't consider deep PS mode when transmitting packet 2021-12-22 19:48:50 +02:00
reg.h rtw88: Add update beacon flow for AP mode 2022-04-12 16:52:05 +03:00
regd.c rtw88: support adaptivity for ETSI/JP DFS region 2021-09-21 17:51:56 +03:00
regd.h rtw88: add regulatory strategy by chip type 2021-09-21 17:51:56 +03:00
rtw8723d.c wifi: rtw88: Fix Sparse warning for rtw8723d_hw_spec 2022-05-30 14:06:27 +03:00
rtw8723d.h wifi: rtw88: Fix Sparse warning for rtw8723d_hw_spec 2022-05-30 14:06:27 +03:00
rtw8723d_table.c rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723d_table.h rtw88: 8723d: Add mac/bb/rf/agc/power_limit tables 2020-04-21 15:59:21 +03:00
rtw8723de.c wifi: rtw88: Fix Sparse warning for rtw8723d_hw_spec 2022-05-30 14:06:27 +03:00
rtw8821c.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-07-14 15:27:35 -07:00
rtw8821c.h wifi: rtw88: Fix Sparse warning for rtw8821c_hw_spec 2022-05-30 14:06:27 +03:00
rtw8821c_table.c rtw88: 8821c: Enable TX report for management frames 2022-04-12 16:52:05 +03:00
rtw8821c_table.h rtw88: 8821c: support RFE type2 wifi NIC 2021-02-08 12:51:39 +02:00
rtw8821ce.c wifi: rtw88: Fix Sparse warning for rtw8821c_hw_spec 2022-05-30 14:06:27 +03:00
rtw8822b.c wifi: rtw88: Fix sparse warning for rtw8822b_hw_spec 2022-05-30 14:06:26 +03:00
rtw8822b.h wifi: rtw88: Fix sparse warning for rtw8822b_hw_spec 2022-05-30 14:06:26 +03:00
rtw8822b_table.c rtw88: use rtw_phy_pg_cfg_pair struct, not arrays 2019-10-31 10:03:48 +02:00
rtw8822b_table.h rtw88: 8822b: add RFE type 3 support 2019-10-31 10:03:47 +02:00
rtw8822be.c wifi: rtw88: Fix sparse warning for rtw8822b_hw_spec 2022-05-30 14:06:26 +03:00
rtw8822c.c wifi: rtw88: Fix Sparse warning for rtw8822c_hw_spec 2022-05-30 14:06:27 +03:00
rtw8822c.h wifi: rtw88: Fix Sparse warning for rtw8822c_hw_spec 2022-05-30 14:06:27 +03:00
rtw8822c_table.c rtw88: 8822c: update RF parameter tables to v62 2021-06-22 18:19:26 +03:00
rtw8822c_table.h rtw88: 8822c: update phy parameter tables to v50 2020-05-04 12:46:14 +03:00
rtw8822ce.c wifi: rtw88: Fix Sparse warning for rtw8822c_hw_spec 2022-05-30 14:06:27 +03:00
rx.c rtw88: fix incorrect frequency reported 2022-04-12 16:52:05 +03:00
rx.h rtw88: Don't set RX_FLAG_DECRYPTED if packet has no encryption 2019-10-04 16:45:01 +03:00
sar.c rtw88: change rtw_info() to proper message level 2022-02-22 17:31:13 +02:00
sar.h rtw88: support SAR via kernel common API 2021-12-21 20:22:38 +02:00
sec.c rtw88: fill zeros to words 0x06 and 0x07 of security cam entry 2020-05-13 18:48:52 +03:00
sec.h rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
tx.c rtw88: Add update beacon flow for AP mode 2022-04-12 16:52:05 +03:00
tx.h rtw88: Add update beacon flow for AP mode 2022-04-12 16:52:05 +03:00
util.c rtw88: extract: export symbols used in chip functionalities 2020-05-18 15:16:15 +03:00
util.h rtw88: handle and recover when firmware crash 2020-09-29 11:22:19 +03:00
wow.c rtw88: wow: report wow reason through mac80211 api 2021-08-21 22:19:15 +03:00
wow.h rtw88: Add wowlan net-detect support 2020-01-26 17:37:05 +02:00