aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorJohn B. Wyatt IV <sageofredondo@gmail.com>2013-06-19 23:56:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-24 15:57:40 -0700
commit2b8d5e5b39a251b99a42cac8eccb268190ff3baf (patch)
treec7d74ddbcd4f4b010f20497a832ad7ed00c819bc /drivers/staging
parent34fbb97c07fce301164d5902639d04ce4f6f3fd5 (diff)
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>
Diffstat (limited to 'drivers/staging')
-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 93a2638a7ad..fc056fc6199 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;
- }
}