linux_dsm_epyc7002/drivers/net/wireless/rsi
Colin Ian King 58828680af rsi: add in missing RSI_FSM_STATES into array fsm_state
Two recent commits added new RSI_FSM_STATES (namely FSM_FW_NOT_LOADED
and FSM_COMMON_DEV_PARAMS_SENT) and the corresponding table fsm_state
was not updated to match. This can lead to an array overrun when
accessing the latter two states in fsm_state. Fix this by adding in
the missing states.

Detected by CoverityScan, CID#1398379 ("Illegal address computation")

Fixes: 9920322ccd ("rsi: add tx frame for common device configuration")
Fixes: 015e367494 ("rsi: Register interrupt handler before firmware load")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-06-28 20:54:14 +03:00
..
Kconfig
Makefile
rsi_91x_core.c
rsi_91x_debugfs.c
rsi_91x_hal.c
rsi_91x_mac80211.c
rsi_91x_main.c
rsi_91x_mgmt.c
rsi_91x_sdio_ops.c
rsi_91x_sdio.c
rsi_91x_usb_ops.c
rsi_91x_usb.c
rsi_boot_params.h
rsi_common.h
rsi_debugfs.h
rsi_hal.h
rsi_main.h
rsi_mgmt.h
rsi_sdio.h
rsi_usb.h