diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2015-02-06 12:36:43 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-26 08:14:16 -0500 |
commit | ad5a52518aa5ae85dd73f8062ad58ef8b3f1ecf1 (patch) | |
tree | cf6cf8051ceebd5ddd4ce9782ddef877483899d6 /drivers/net/wireless/brcm80211/brcmfmac | |
parent | a1ce7a0d6a4f1ed178c075c9dc02a06f0c68ab70 (diff) |
brcmfmac: Remove error print for invalid key index.
When a key is set or cleared with an unsupported key index then
brcmfmac will print an error. With most wpa_supplicants this is
happening a lot. The error print is confusing and not needed.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c index b59b8c6c42ab..bc86009e90fa 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | |||
@@ -2252,7 +2252,6 @@ brcmf_cfg80211_del_key(struct wiphy *wiphy, struct net_device *ndev, | |||
2252 | 2252 | ||
2253 | if (key_idx >= BRCMF_MAX_DEFAULT_KEYS) { | 2253 | if (key_idx >= BRCMF_MAX_DEFAULT_KEYS) { |
2254 | /* we ignore this key index in this case */ | 2254 | /* we ignore this key index in this case */ |
2255 | brcmf_err("invalid key index (%d)\n", key_idx); | ||
2256 | return -EINVAL; | 2255 | return -EINVAL; |
2257 | } | 2256 | } |
2258 | 2257 | ||