]> 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)
commite549f8e15369e6a114f1d0e40a5d9820319c9006
tree800c52a9d03d7d1b9f14bacbab1596c17bb6e6d2
parent00037b44c73c23d31a1391c33bf0b5ed63840b52
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: 69d47e1edbcf ("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