mwiflex: avoid possible null pointer dereference
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 17 May 2016 23:16:01 +0000 (01:16 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jun 2016 14:21:28 +0000 (17:21 +0300)
commit141bcf099076df1a74317a5b14dcd56c933b9de8
tree01f41a083d648e5df466f758e6ce7ba612e9fddc
parent6b3c33e985f20e7de07fc4b9b1a96dc452e37cb4
mwiflex: avoid possible null pointer dereference

Do not dereference card before checking against NULL value.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c