aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/wroute.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-24 11:02:26 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-24 14:23:17 -0700
commit2986db5fd31e312206d3ebfa4786aac04bdbe486 (patch)
tree910e5522ededbdce9e97601fccb79ae94ec51404 /drivers/staging/vt6655/wroute.c
parentStaging: vt6655: remove DWORD typedef (diff)
downloadlinux-dev-2986db5fd31e312206d3ebfa4786aac04bdbe486.tar.xz
linux-dev-2986db5fd31e312206d3ebfa4786aac04bdbe486.zip
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/wroute.c')
-rw-r--r--drivers/staging/vt6655/wroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/wroute.c b/drivers/staging/vt6655/wroute.c
index 6d02cea7b41d..9af4aebf8d0b 100644
--- a/drivers/staging/vt6655/wroute.c
+++ b/drivers/staging/vt6655/wroute.c
@@ -139,7 +139,7 @@ BOOL ROUTEbRelay (PSDevice pDevice, unsigned char *pbySkbData, unsigned int uDat
if (pDevice->uConnectionRate >= RATE_11M) {
pDevice->wCurrentRate = RATE_11M;
} else {
- pDevice->wCurrentRate = (WORD)pDevice->uConnectionRate;
+ pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;
}
} else {
if ((pDevice->eCurrentPHYType == PHY_TYPE_11A) &&
@@ -149,7 +149,7 @@ BOOL ROUTEbRelay (PSDevice pDevice, unsigned char *pbySkbData, unsigned int uDat
if (pDevice->uConnectionRate >= RATE_54M)
pDevice->wCurrentRate = RATE_54M;
else
- pDevice->wCurrentRate = (WORD)pDevice->uConnectionRate;
+ pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;
}
}
}