aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/wpa.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-05 18:13:47 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 13:20:03 -0400
commit2989e96f17f2dcbd73aee37856899c2885df0686 (patch)
tree9cdf17ddd9a4151ec148516adb9a26af8b7684e6 /drivers/staging/vt6655/wpa.c
parentb2e876b6089160e5ecaed859eb1b87cd4913793e (diff)
Staging: vt6655: remove PBYTE typedef
Use unsigned char * instead. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/wpa.c')
-rw-r--r--drivers/staging/vt6655/wpa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/wpa.c b/drivers/staging/vt6655/wpa.c
index da5c814e200..d3b54c51402 100644
--- a/drivers/staging/vt6655/wpa.c
+++ b/drivers/staging/vt6655/wpa.c
@@ -112,7 +112,7 @@ WPA_ParseRSN (
112{ 112{
113 PWLAN_IE_RSN_AUTH pIE_RSN_Auth = NULL; 113 PWLAN_IE_RSN_AUTH pIE_RSN_Auth = NULL;
114 int i, j, m, n = 0; 114 int i, j, m, n = 0;
115 PBYTE pbyCaps; 115 unsigned char *pbyCaps;
116 116
117 WPA_ClearRSN(pBSSList); 117 WPA_ClearRSN(pBSSList);
118 118
@@ -207,7 +207,7 @@ WPA_ParseRSN (
207 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"14+4+(m+n)*4: %d\n", 14+4+(m+n)*4); 207 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"14+4+(m+n)*4: %d\n", 14+4+(m+n)*4);
208 208
209 if(pRSN->len+2 >= 14+4+(m+n)*4) { //oui1(4)+ver(2)+GKS(4)+PKSCnt(2)+PKS(4*m)+AKC(2)+AKS(4*n)+Cap(2) 209 if(pRSN->len+2 >= 14+4+(m+n)*4) { //oui1(4)+ver(2)+GKS(4)+PKSCnt(2)+PKS(4*m)+AKC(2)+AKS(4*n)+Cap(2)
210 pbyCaps = (PBYTE)pIE_RSN_Auth->AuthKSList[n].abyOUI; 210 pbyCaps = (unsigned char *)pIE_RSN_Auth->AuthKSList[n].abyOUI;
211 pBSSList->byDefaultK_as_PK = (*pbyCaps) & WPA_GROUPFLAG; 211 pBSSList->byDefaultK_as_PK = (*pbyCaps) & WPA_GROUPFLAG;
212 pBSSList->byReplayIdx = 2 << ((*pbyCaps >> WPA_REPLAYBITSSHIFT) & WPA_REPLAYBITS); 212 pBSSList->byReplayIdx = 2 << ((*pbyCaps >> WPA_REPLAYBITSSHIFT) & WPA_REPLAYBITS);
213 pBSSList->sRSNCapObj.bRSNCapExist = TRUE; 213 pBSSList->sRSNCapObj.bRSNCapExist = TRUE;