diff options
Diffstat (limited to 'drivers/staging/vt6655/aes_ccmp.c')
-rw-r--r-- | drivers/staging/vt6655/aes_ccmp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/aes_ccmp.c b/drivers/staging/vt6655/aes_ccmp.c index a25e6cf844ed..1dfcfcb3c69c 100644 --- a/drivers/staging/vt6655/aes_ccmp.c +++ b/drivers/staging/vt6655/aes_ccmp.c @@ -370,8 +370,5 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor /* =>above is the dec-MIC from packet */ /* -------------------------------------------- */ - if (!memcmp(abyMIC, abyTmp, 8)) - return true; - else - return false; + return !memcmp(abyMIC, abyTmp, 8); } |