diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/aes_ccmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c index 93a2638a7ad5..fc056fc61995 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; - } } |