summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/st
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-06-22 17:58:04 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-06-28 20:54:14 +0300
commit58828680af495bc4863af3a006f2018c71714665 (patch)
treeb3d01175302370be46fea5ce683662d12b0c5d22 /drivers/net/wireless/st
parent21394d57feba712140762b91043a8a1436d7e2c7 (diff)
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: 9920322ccd8e ("rsi: add tx frame for common device configuration") Fixes: 015e367494c1 ("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>
Diffstat (limited to 'drivers/net/wireless/st')
0 files changed, 0 insertions, 0 deletions