]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix copy-paste error in ath10k_qmi_setup_msa_resources()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 16 Oct 2018 02:35:16 +0000 (02:35 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 5 Nov 2018 10:12:15 +0000 (12:12 +0200)
commitf02b2da5f7365d65b14af964c2b7b0f95a213e33
tree800c52a9d03d7d1b9f14bacbab1596c17bb6e6d2
parent5c877d6a11d388463ecb9d684021ca4a1db376c5
ath10k: fix copy-paste error in ath10k_qmi_setup_msa_resources()

The return value from devm_memremap() is not checked correctly.
The test is done against a wrong variable. This patch fix it.

Fixes: 0fd23d9f9392 ("ath10k: add QMI message handshake for wcn3990 client")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/qmi.c