linux_dsm_epyc7002/drivers/net/wireless
Colin Ian King 80ba4f1d36 mwifiex: fix null pointer deference when adapter is null
If adapter is null the error exit path in mwifiex_shutdown_sw is
to down the semaphore sem and print some debug via mwifiex_dbg.
However, passing a NULL adapter to mwifiex_dbg causes a null
pointer deference when accessing adapter->dev.  This fix checks
for a null adapter at the start of the function and to exit
without the need to up the semaphore and we also skip the debug
to avoid the null pointer dereference.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-09-17 18:26:32 +03:00
..
admtek cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
ath ath: constify local structures 2016-09-14 20:01:39 +03:00
atmel mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
broadcom wireless-drivers-next patches for 4.9 2016-09-17 09:53:29 -04:00
cisco wireless: airo: rename 'register' variable 2016-06-29 18:56:20 +03:00
intel * work for new hardware support continues 2016-09-17 18:10:33 +03:00
intersil hostap: Use memdup_user() to reuse code 2016-09-03 12:54:53 +03:00
marvell mwifiex: fix null pointer deference when adapter is null 2016-09-17 18:26:32 +03:00
mediatek mt7601u: use linux/bitfield.h 2016-09-09 12:09:25 +03:00
ralink rt2x00usb: Fix error return code 2016-09-03 13:06:49 +03:00
realtek rtl8xxxu: Implement 8192e specific power down sequence 2016-09-17 18:16:19 +03:00
rsi rsi: eliminate superfluous NULL check 2016-06-14 17:17:58 +03:00
st mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
ti wl18xx: add time sync configuration api 2016-09-03 20:02:34 +03:00
zydas zd1211rw: fix spelling mistake "firmeware" -> "firmware" 2016-09-03 19:59:56 +03:00
Kconfig
mac80211_hwsim.c mac80211: Add support for beacon report radio measurement 2016-07-06 14:53:19 +02:00
mac80211_hwsim.h drivers/wireless: use nla_put_u64_64bit() 2016-04-26 12:00:48 -04:00
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c nl80211: support beacon report scanning 2016-07-06 14:51:31 +02:00
wl3501_cs.c wl3501_cs: Add spinlock to wl3501_reset 2016-09-03 13:01:18 +03:00
wl3501.h