]> git.baikalelectronics.ru Git - kernel.git/commit
rsi: fix null pointer dereference during rsi_shutdown()
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Wed, 29 Jan 2020 13:02:59 +0000 (14:02 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:19:14 +0000 (18:19 +0200)
commitc94fff59cd406e30b169543f230db595d83707f4
tree5ad883d650ff4d31b6bf5051e2165c9dcc2af149
parentbc22e16052b3afc697c222d30082a24cbf79cc07
rsi: fix null pointer dereference during rsi_shutdown()

Appearently the hw pointer can be NULL while the module is loaded and
in that case rsi_shutdown() crashes due to the unconditional dereference.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_sdio.c