summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/key.h
diff options
context:
space:
mode:
authorAndres More2013-02-26 02:32:51 +0100
committerGreg Kroah-Hartman2013-03-11 17:18:46 +0100
commitb902fbfebf2c80c3782e41eda24b487964a47fd1 (patch)
tree618fc5d478aa7b8d0b206c83fc93f490e44ffbe2 /drivers/staging/vt6656/key.h
parentStaging: bcm: Fix spelling error in PHSModule.c (diff)
downloadkernel-qcow2-linux-b902fbfebf2c80c3782e41eda24b487964a47fd1.tar.gz
kernel-qcow2-linux-b902fbfebf2c80c3782e41eda24b487964a47fd1.tar.xz
kernel-qcow2-linux-b902fbfebf2c80c3782e41eda24b487964a47fd1.zip
staging: vt6656: replaced custom BYTE definition with u8
Checkpatch findings were not resolved, only direct replacement. sed -i 's/\bBYTE\b/u8/g' drivers/staging/vt6656/*.[ch] sed -i 's/\bPBYTE\b/u8 */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/key.h')
-rw-r--r--drivers/staging/vt6656/key.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/vt6656/key.h b/drivers/staging/vt6656/key.h
index 7ecddcd6bcfa..d5ff9c755212 100644
--- a/drivers/staging/vt6656/key.h
+++ b/drivers/staging/vt6656/key.h
@@ -59,27 +59,27 @@ typedef struct tagSKeyItem
{
bool bKeyValid;
u32 uKeyLength;
- BYTE abyKey[MAX_KEY_LEN];
+ u8 abyKey[MAX_KEY_LEN];
u64 KeyRSC;
DWORD dwTSC47_16;
WORD wTSC15_0;
- BYTE byCipherSuite;
- BYTE byReserved0;
+ u8 byCipherSuite;
+ u8 byReserved0;
DWORD dwKeyIndex;
void *pvKeyTable;
} SKeyItem, *PSKeyItem; //64
typedef struct tagSKeyTable
{
- BYTE abyBSSID[ETH_ALEN]; /* 6 */
- BYTE byReserved0[2]; //8
+ u8 abyBSSID[ETH_ALEN]; /* 6 */
+ u8 byReserved0[2]; //8
SKeyItem PairwiseKey;
SKeyItem GroupKey[MAX_GROUP_KEY]; //64*5 = 320, 320+8=328
DWORD dwGTKeyIndex; // GroupTransmitKey Index
bool bInUse;
WORD wKeyCtl;
bool bSoftWEP;
- BYTE byReserved1[6];
+ u8 byReserved1[6];
} SKeyTable, *PSKeyTable; //352
typedef struct tagSKeyManagement