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)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 5 Oct 2018 11:01:29 +0000 (14:01 +0300)
commit35da3fe63b8647ce3cc52fccdf186a60710815fb
tree8a67c9cf46f6f808914283802003f8722742638f
parentab1c64a1d349cc7f1090a60ce85a53298e3d371d
qtnfmac: drop error reports for out-of-bounds key indexes

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>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c