summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/aes_ccmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6655/aes_ccmp.c')
-rw-r--r--drivers/staging/vt6655/aes_ccmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c
index 93a2638..fc056fc 100644
--- a/drivers/staging/vt6655/aes_ccmp.c
+++ b/drivers/staging/vt6655/aes_ccmp.c
@@ -381,9 +381,8 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor
/* =>above is the dec-MIC from packet */
/* -------------------------------------------- */
- if (!memcmp(abyMIC, abyTmp, 8)) {
+ if (!memcmp(abyMIC, abyTmp, 8))
return true;
- } else {
+ else
return false;
- }
}