OSDN Git Service

qtnfmac: drop error reports for out-of-bounds key indexes
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 5 Oct 2018 10:11:40 +0000 (10:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:21 +0000 (08:20 +0100)
commitfe46630cd2a161d606455644c7fb99f122dd4a07
tree9ec081e1ee53ff7bfc5f498d434b54fe9601507f
parent4ecc631d975cc218c03449bec04bc79a45a7b711
qtnfmac: drop error reports for out-of-bounds key indexes

[ Upstream commit 35da3fe63b8647ce3cc52fccdf186a60710815fb ]

On disconnect wireless core attempts to remove all the supported keys.
Following cfg80211_ops conventions, firmware returns -ENOENT code
for the out-of-bound key indexes. This is a normal behavior,
so no need to report errors for this case.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c