mirror of https://gitee.com/openkylin/linux.git
staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_crypt_ccmp.c
The following error and warning fixed. - ERROR: code indent should use tabs where possible - WARNING: braces {} are not necessary for single statement blocks Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d6f272c25a
commit
937afb70a0
|
@ -340,9 +340,9 @@ static int ieee80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
|
if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
|
||||||
if (net_ratelimit()) {
|
if (net_ratelimit())
|
||||||
pr_debug("decrypt failed: STA=%pM\n", hdr->addr2);
|
pr_debug("decrypt failed: STA=%pM\n", hdr->addr2);
|
||||||
}
|
|
||||||
key->dot11RSNAStatsCCMPDecryptErrors++;
|
key->dot11RSNAStatsCCMPDecryptErrors++;
|
||||||
return -5;
|
return -5;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue