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>
diff --git a/drivers/staging/vt6655/80211mgr.h b/drivers/staging/vt6655/80211mgr.h
index bebb5d6..adae1f3 100644
--- a/drivers/staging/vt6655/80211mgr.h
+++ b/drivers/staging/vt6655/80211mgr.h
@@ -262,7 +262,7 @@
typedef struct _WLAN_IE_FH_PARMS {
BYTE byElementID;
BYTE len;
- WORD wDwellTime;
+ unsigned short wDwellTime;
BYTE byHopSet;
BYTE byHopPattern;
BYTE byHopIndex;
@@ -285,8 +285,8 @@
BYTE len;
BYTE byCFPCount;
BYTE byCFPPeriod;
- WORD wCFPMaxDuration;
- WORD wCFPDurRemaining;
+ unsigned short wCFPMaxDuration;
+ unsigned short wCFPDurRemaining;
}__attribute__ ((__packed__))
WLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS;
@@ -309,7 +309,7 @@
typedef struct tagWLAN_IE_IBSS_PARMS {
BYTE byElementID;
BYTE len;
- WORD wATIMWindow;
+ unsigned short wATIMWindow;
}__attribute__ ((__packed__))
WLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS;
@@ -329,9 +329,9 @@
BYTE byElementID;
BYTE len;
BYTE abyOUI[4];
- WORD wVersion;
+ unsigned short wVersion;
BYTE abyMulticast[4];
- WORD wPKCount;
+ unsigned short wPKCount;
struct {
BYTE abyOUI[4];
} PKSList[1]; // the rest is variable so need to
@@ -340,7 +340,7 @@
#pragma pack(1)
typedef struct tagWLAN_IE_RSN_AUTH {
- WORD wAuthCount;
+ unsigned short wAuthCount;
struct {
BYTE abyOUI[4];
} AuthKSList[1];
@@ -351,7 +351,7 @@
typedef struct tagWLAN_IE_RSN {
BYTE byElementID;
BYTE len;
- WORD wVersion;
+ unsigned short wVersion;
BYTE abyRSN[WLAN_MIN_ARRAY];
} WLAN_IE_RSN, *PWLAN_IE_RSN;