Skip to content
Commit a69d3bdd authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo
Browse files

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: 3f14b73c ("ath10k: Enable MSA region dump support for WCN3990")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cc78dc3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment