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:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 10:46:44 -0800
commitdfdcc425975d06cbfcc9b5c0fad2f3af5476cd05 (patch)
treeed39806ba3b60cadae0e2eac7909e8afe6c1f458 /drivers/staging/vt6656/aes_ccmp.c
parentstaging/rtl8187se: Mark functions as static to silence sparse (diff)
downloadlinux-dev-dfdcc425975d06cbfcc9b5c0fad2f3af5476cd05.tar.xz
linux-dev-dfdcc425975d06cbfcc9b5c0fad2f3af5476cd05.zip
staging: vt6656: replace custom BOOL definition with bool
Checkpatch findings were not resolved, just make direct replacement plus a couple of conflicting types in declarations. sed -i 's/\bBOOL\b/bool/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 f7a3b8f8da70..62fedc10a8a8 100644
--- a/drivers/staging/vt6656/aes_ccmp.c
+++ b/drivers/staging/vt6656/aes_ccmp.c
@@ -231,7 +231,7 @@ void AESv128(BYTE *key, BYTE *data, BYTE *ciphertext)
*
*/
-BOOL AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize)
+bool AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize)
{
BYTE abyNonce[13];
BYTE MIC_IV[16];
@@ -249,7 +249,7 @@ BOOL AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize)
WORD wHLen = 22;
/* 8 is IV, 8 is MIC, 4 is CRC */
WORD wPayloadSize = wFrameSize - 8 - 8 - 4 - WLAN_HDR_ADDR3_LEN;
- BOOL bA4 = FALSE;
+ bool bA4 = FALSE;
BYTE byTmp;
WORD wCnt;
int ii, jj, kk;