]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:53:28 +0000 (16:53 +0200)
commit9d8dce107bddda663ea5b251cc6c96b0f7030d8d
tree4b8c627d2ba61efd699d03278eb9670577041f24
parent962424a9b95b52e5d3b11c007128f152cd5f95c1
ath10k: go to path err_unsupported when chip id is not supported

[ Upstream commit 9e88dd431d2345acdb7a549f3e88aaf4c2a307a1 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath10k/pci.c