diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-24 11:02:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-24 14:23:17 -0700 |
commit | 2986db5fd31e312206d3ebfa4786aac04bdbe486 (patch) | |
tree | 910e5522ededbdce9e97601fccb79ae94ec51404 /drivers/staging/vt6655/dpc.c | |
parent | 0f4c60d61e9c10a0733eacd650c101189bdf75cd (diff) |
Staging: vt6655: remove WORD typedef
Replace all occurrences with unsigned short type.
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/dpc.c')
-rw-r--r-- | drivers/staging/vt6655/dpc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c index e994f0a9dd15..91a52e6dc6d1 100644 --- a/drivers/staging/vt6655/dpc.c +++ b/drivers/staging/vt6655/dpc.c @@ -359,7 +359,7 @@ device_receive_frame ( BOOL bIsWEP = FALSE; unsigned int cbHeaderOffset; unsigned int FrameSize; - WORD wEtherType = 0; + unsigned short wEtherType = 0; int iSANodeIndex = -1; int iDANodeIndex = -1; unsigned int ii; @@ -370,7 +370,7 @@ device_receive_frame ( unsigned char *pbySQ; unsigned int cbHeaderSize; PSKeyItem pKey = NULL; - WORD wRxTSC15_0 = 0; + unsigned short wRxTSC15_0 = 0; unsigned long dwRxTSC47_16 = 0; SKeyItem STempKey; // 802.11h RPI @@ -917,12 +917,12 @@ device_receive_frame ( if ((pKey != NULL) && ((pKey->byCipherSuite == KEY_CTL_TKIP) || (pKey->byCipherSuite == KEY_CTL_CCMP))) { if (bIsWEP) { - WORD wLocalTSC15_0 = 0; + unsigned short wLocalTSC15_0 = 0; unsigned long dwLocalTSC47_16 = 0; unsigned long long RSC = 0; // endian issues RSC = *((unsigned long long *) &(pKey->KeyRSC)); - wLocalTSC15_0 = (WORD) RSC; + wLocalTSC15_0 = (unsigned short) RSC; dwLocalTSC47_16 = (unsigned long) (RSC>>16); RSC = dwRxTSC47_16; @@ -1452,7 +1452,7 @@ static BOOL s_bAPModeRxData ( BOOL bRelayAndForward = FALSE; BOOL bRelayOnly = FALSE; BYTE byMask[8] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80}; - WORD wAID; + unsigned short wAID; struct sk_buff* skbcpy = NULL; |