diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-10-04 19:02:27 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-10-11 11:45:53 +0300 |
commit | a69d3bdd4d40c8f780c94b5e1983adb1cd389b59 (patch) | |
tree | ec054f4001547aec4f0d52dc0bd3a762b2c535b1 /drivers/net/wireless/ath/ath10k/wmi.c | |
parent | cc78dc3b790619aa05f22a86a9152986bd73698c (diff) | |
download | linux-a69d3bdd4d40c8f780c94b5e1983adb1cd389b59.tar.xz |
ath10k: fix null dereference on pointer crash_data
Currently when pointer crash_data is null the present null check
will also check that crash_data->ramdump_buf is null and will cause
a null pointer dereference on crash_data. Fix this by using the ||
operator instead of &&.
Fixes: 3f14b73c3843 ("ath10k: Enable MSA region dump support for WCN3990")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
0 files changed, 0 insertions, 0 deletions