summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/ioctl.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-17 21:34:01 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-18 14:51:08 -0700
commitcc856e61ee4ffb150ff352e3d6940978a2f819e8 (patch)
treefc196d675186aeaf221758a37c03ef5e305649fc /drivers/staging/vt6656/ioctl.c
parent213d2e9322ed509c2f80b07d7feb4427ebcd7b0b (diff)
downloadop-kernel-dev-cc856e61ee4ffb150ff352e3d6940978a2f819e8.zip
op-kernel-dev-cc856e61ee4ffb150ff352e3d6940978a2f819e8.tar.gz
Staging: vt6656: removed custom UCHAR/USHORT/UINT/ULONG/ULONGLONG typedefs
Cleared all checkpatch warnings but 'do not add new typedefs' ones. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/ioctl.c')
-rw-r--r--drivers/staging/vt6656/ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/ioctl.c b/drivers/staging/vt6656/ioctl.c
index 368e49f..19a84b6 100644
--- a/drivers/staging/vt6656/ioctl.c
+++ b/drivers/staging/vt6656/ioctl.c
@@ -72,10 +72,10 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
SNodeList sNodeList;
PSBSSIDList pList;
PSNodeList pNodeList;
- UINT cbListCount;
+ unsigned int cbListCount;
PKnownBSS pBSS;
PKnownNodeDB pNode;
- UINT ii, jj;
+ unsigned int ii, jj;
SCmdLinkStatus sLinkStatus;
BYTE abySuppRates[] = {WLAN_EID_SUPP_RATES, 4, 0x02, 0x04, 0x0B, 0x16};
BYTE abyNullAddr[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
@@ -337,7 +337,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
pList->sBSSIDList[ii].wBeaconInterval = pBSS->wBeaconInterval;
pList->sBSSIDList[ii].wCapInfo = pBSS->wCapInfo;
RFvRSSITodBm(pDevice, (BYTE)(pBSS->uRSSI), &ldBm);
- pList->sBSSIDList[ii].uRSSI = (UINT)ldBm;
+ pList->sBSSIDList[ii].uRSSI = (unsigned int) ldBm;
// pList->sBSSIDList[ii].uRSSI = pBSS->uRSSI;
memcpy(pList->sBSSIDList[ii].abyBSSID, pBSS->abyBSSID, WLAN_BSSID_LEN);
pItemSSID = (PWLAN_IE_SSID)pBSS->abySSID;
OpenPOWER on IntegriCloud