summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/hostap.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-05 15:13:47 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-18 10:20:03 -0700
commit2989e96f17f2dcbd73aee37856899c2885df0686 (patch)
tree9cdf17ddd9a4151ec148516adb9a26af8b7684e6 /drivers/staging/vt6655/hostap.c
parentb2e876b6089160e5ecaed859eb1b87cd4913793e (diff)
downloadop-kernel-dev-2989e96f17f2dcbd73aee37856899c2885df0686.zip
op-kernel-dev-2989e96f17f2dcbd73aee37856899c2885df0686.tar.gz
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/hostap.c')
-rw-r--r--drivers/staging/vt6655/hostap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/hostap.c b/drivers/staging/vt6655/hostap.c
index 01429d1..8faeb6e 100644
--- a/drivers/staging/vt6655/hostap.c
+++ b/drivers/staging/vt6655/hostap.c
@@ -580,7 +580,7 @@ static int hostap_set_encryption(PSDevice pDevice,
dwKeyIndex & ~(USE_KEYRSC),
param->u.crypt.key_len,
(PQWORD) &(KeyRSC),
- (PBYTE)abyKey,
+ (unsigned char *)abyKey,
KEY_CTL_WEP,
pDevice->PortOffset,
pDevice->byLocalID) == TRUE) {
@@ -649,7 +649,7 @@ static int hostap_set_encryption(PSDevice pDevice,
dwKeyIndex,
param->u.crypt.key_len,
(PQWORD) &(KeyRSC),
- (PBYTE)abyKey,
+ (unsigned char *)abyKey,
byKeyDecMode,
pDevice->PortOffset,
pDevice->byLocalID) == TRUE) {
OpenPOWER on IntegriCloud