summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/wcmd.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-02 09:52:01 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 10:18:45 -0700
commitb6e95cd52a81079abc1def7867e27bf541953089 (patch)
tree4bf5c3d1d7002837eb9ae6943c0f6c97a1c12c5a /drivers/staging/vt6655/wcmd.c
parent800acdbdf83efe6a2b4dbe61e3ab676b5c99d153 (diff)
downloadlinux-stable-b6e95cd52a81079abc1def7867e27bf541953089.tar.gz
linux-stable-b6e95cd52a81079abc1def7867e27bf541953089.tar.bz2
linux-stable-b6e95cd52a81079abc1def7867e27bf541953089.zip
Staging: vt6655: remove custom UINT typedef
Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/wcmd.c')
-rw-r--r--drivers/staging/vt6655/wcmd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/wcmd.c b/drivers/staging/vt6655/wcmd.c
index c2bf287961a9..517cad9fbed2 100644
--- a/drivers/staging/vt6655/wcmd.c
+++ b/drivers/staging/vt6655/wcmd.c
@@ -216,7 +216,7 @@ s_vProbeChannel(
PBYTE pbyRate;
PSTxMgmtPacket pTxPacket;
PSMgmtObject pMgmt = pDevice->pMgmt;
- UINT ii;
+ unsigned int ii;
if (pDevice->eCurrentPHYType == PHY_TYPE_11A) {
@@ -320,7 +320,7 @@ s_MgrMakeProbeRequest(
void
vCommandTimerWait(
void *hDeviceContext,
- UINT MSecond
+ unsigned int MSecond
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
@@ -329,7 +329,7 @@ vCommandTimerWait(
pDevice->sTimerCommand.data = (ULONG)pDevice;
pDevice->sTimerCommand.function = (TimerFunction)vCommandTimer;
// RUN_AT :1 msec ~= (HZ/1024)
- pDevice->sTimerCommand.expires = (UINT)RUN_AT((MSecond * HZ) >> 10);
+ pDevice->sTimerCommand.expires = (unsigned int)RUN_AT((MSecond * HZ) >> 10);
add_timer(&pDevice->sTimerCommand);
return;
}
@@ -347,7 +347,7 @@ vCommandTimer (
PWLAN_IE_SSID pItemSSID;
PWLAN_IE_SSID pItemSSIDCurr;
CMD_STATUS Status;
- UINT ii;
+ unsigned int ii;
BYTE byMask[8] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80};
struct sk_buff *skb;
@@ -1065,8 +1065,8 @@ BOOL bClearBSSID_SCAN (
)
{
PSDevice pDevice = (PSDevice)hDeviceContext;
- UINT uCmdDequeueIdx = pDevice->uCmdDequeueIdx;
- UINT ii;
+ unsigned int uCmdDequeueIdx = pDevice->uCmdDequeueIdx;
+ unsigned int ii;
if ((pDevice->cbFreeCmdQueue < CMD_Q_SIZE) && (uCmdDequeueIdx != pDevice->uCmdEnqueueIdx)) {
for (ii = 0; ii < (CMD_Q_SIZE - pDevice->cbFreeCmdQueue); ii ++) {