aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/wroute.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/wroute.c
parentStaging: vt6655: remove custom ULONGLONG typedef (diff)
downloadlinux-dev-2989e96f17f2dcbd73aee37856899c2885df0686.tar.xz
linux-dev-2989e96f17f2dcbd73aee37856899c2885df0686.zip
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/wroute.c')
-rw-r--r--drivers/staging/vt6655/wroute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/wroute.c b/drivers/staging/vt6655/wroute.c
index 648ae1aa2b18..6d02cea7b41d 100644
--- a/drivers/staging/vt6655/wroute.c
+++ b/drivers/staging/vt6655/wroute.c
@@ -65,7 +65,7 @@ static int msglevel =MSG_LEVEL_INFO;
* Return Value: TRUE if packet duplicate; otherwise FALSE
*
*/
-BOOL ROUTEbRelay (PSDevice pDevice, PBYTE pbySkbData, unsigned int uDataLen, unsigned int uNodeIndex)
+BOOL ROUTEbRelay (PSDevice pDevice, unsigned char *pbySkbData, unsigned int uDataLen, unsigned int uNodeIndex)
{
PSMgmtObject pMgmt = pDevice->pMgmt;
PSTxDesc pHeadTD, pLastTD;
@@ -77,7 +77,7 @@ BOOL ROUTEbRelay (PSDevice pDevice, PBYTE pbySkbData, unsigned int uDataLen, uns
PSKeyItem pTransmitKey = NULL;
unsigned int cbHeaderSize;
unsigned int ii;
- PBYTE pbyBSSID;
+ unsigned char *pbyBSSID;
@@ -91,7 +91,7 @@ BOOL ROUTEbRelay (PSDevice pDevice, PBYTE pbySkbData, unsigned int uDataLen, uns
pHeadTD->m_td1TD1.byTCR = (TCR_EDP|TCR_STP);
- memcpy(pDevice->sTxEthHeader.abyDstAddr, (PBYTE)pbySkbData, ETH_HLEN);
+ memcpy(pDevice->sTxEthHeader.abyDstAddr, (unsigned char *)pbySkbData, ETH_HLEN);
cbFrameBodySize = uDataLen - ETH_HLEN;