diff options
author | Wei-Ning Huang <wnhuang@chromium.org> | 2016-03-30 13:14:55 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-07 19:40:29 +0300 |
commit | a5c92f0b6a88a8abe3840869425f1372591a762c (patch) | |
tree | 0ca107395245be27d041c7b96fd3a1ad8d45233b /drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | |
parent | 001351881da1822b06e5d92e1fa2bf4920318e8c (diff) | |
download | linux-a5c92f0b6a88a8abe3840869425f1372591a762c.tar.xz |
mwifiex: fix NULL pointer dereference error
In mwifiex_enable_hs, we need to check if
priv->wdev.wiphy->wowlan_config is NULL before accessing its member.
This sometimes cause kernel panic when suspend/resume.
Signed-off-by: Wei-Ning Huang <wnhuang@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h')
0 files changed, 0 insertions, 0 deletions