Browse Source

Staging: vt6655: aes_ccmp: fixed a brace coding style

Fixed a coding style issue.

Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
John B. Wyatt IV 12 years ago
parent
commit
2b8d5e5b39
1 changed files with 2 additions and 3 deletions
  1. 2 3
      drivers/staging/vt6655/aes_ccmp.c

+ 2 - 3
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;
-	}
 }