|
@@ -381,9 +381,8 @@ bool AESbGenCCMP(unsigned char *pbyRxKey, unsigned char *pbyFrame, unsigned shor
|
|
/* =>above is the dec-MIC from packet */
|
|
/* =>above is the dec-MIC from packet */
|
|
/* -------------------------------------------- */
|
|
/* -------------------------------------------- */
|
|
|
|
|
|
- if (!memcmp(abyMIC, abyTmp, 8)) {
|
|
|
|
|
|
+ if (!memcmp(abyMIC, abyTmp, 8))
|
|
return true;
|
|
return true;
|
|
- } else {
|
|
|
|
|
|
+ else
|
|
return false;
|
|
return false;
|
|
- }
|
|
|
|
}
|
|
}
|