aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/debug.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-10-04 17:02:27 +0100
committerKalle Valo <kvalo@codeaurora.org>2019-10-11 11:45:53 +0300
commita69d3bdd4d40c8f780c94b5e1983adb1cd389b59 (patch)
treeec054f4001547aec4f0d52dc0bd3a762b2c535b1 /drivers/net/wireless/ath/ath10k/debug.c
parentath10k: enable transmit data ack RSSI for QCA9884 (diff)
downloadlinux-dev-a69d3bdd4d40c8f780c94b5e1983adb1cd389b59.tar.xz
linux-dev-a69d3bdd4d40c8f780c94b5e1983adb1cd389b59.zip
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/debug.c')
0 files changed, 0 insertions, 0 deletions