OSDN Git Service

ath10k: go to path err_unsupported when chip id is not supported
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 31 May 2021 14:41:28 +0000 (17:41 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Jun 2021 10:34:31 +0000 (13:34 +0300)
commit9e88dd431d2345acdb7a549f3e88aaf4c2a307a1
treebcb7572719549f397753875df1fb05b981100ea7
parent5088df0504fe7d9623bf5789950327bc9e594fed
ath10k: go to path err_unsupported when chip id is not supported

When chip id is not supported, it go to path err_unsupported
to print the error message.

Fixes: f8914a14623a ("ath10k: restore QCA9880-AR1A (v1) detection")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210522105822.1091848-2-yangyingliang@huawei.com
drivers/net/wireless/ath/ath10k/pci.c