aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/aes_ccmp.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2013-02-12 20:36:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:48:24 -0800
commit4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4 (patch)
treec3e6b191b0c4e502f841045af939858194ecc8cc /drivers/staging/vt6656/aes_ccmp.c
parentstaging: vt6656: replaced custom FALSE definition with false (diff)
downloadlinux-dev-4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4.tar.xz
linux-dev-4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4.zip
staging: vt6656: replaced custom TRUE definition with true
Checkpatch findings were not resolved, just direct replacement. sed -i 's/\bTRUE\b/true/g' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/aes_ccmp.c')
-rw-r--r--drivers/staging/vt6656/aes_ccmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/aes_ccmp.c b/drivers/staging/vt6656/aes_ccmp.c
index a6f79befd2ce..fb6124d9082a 100644
--- a/drivers/staging/vt6656/aes_ccmp.c
+++ b/drivers/staging/vt6656/aes_ccmp.c
@@ -257,7 +257,7 @@ bool AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize)
pbyIV = pbyFrame + WLAN_HDR_ADDR3_LEN;
if (WLAN_GET_FC_TODS(*(PWORD) pbyFrame) &&
WLAN_GET_FC_FROMDS(*(PWORD) pbyFrame)) {
- bA4 = TRUE;
+ bA4 = true;
pbyIV += 6; /* 6 is 802.11 address4 */
wHLen += 6;
wPayloadSize -= 6;
@@ -380,7 +380,7 @@ bool AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize)
/* => above is the packet dec-MIC */
if (!memcmp(abyMIC, abyTmp, 8))
- return TRUE;
+ return true;
else
return false;
}