Commit e2efba76 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: 64 bit- Correctly address void structure.

Fixes 64 bit deadlock on successful association.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 04212268
...@@ -1452,12 +1452,10 @@ s_bPacketToWirelessUsb( ...@@ -1452,12 +1452,10 @@ s_bPacketToWirelessUsb(
pvRrvTime = pMICHDR = pvRTS = pvCTS = pvTxDataHd = NULL; pvRrvTime = pMICHDR = pvRTS = pvCTS = pvTxDataHd = NULL;
if ((bNeedEncryption) && (pTransmitKey != NULL)) { if (bNeedEncryption && pTransmitKey->pvKeyTable) {
if (((PSKeyTable) (pTransmitKey->pvKeyTable))->bSoftWEP == TRUE) { if (((PSKeyTable)&pTransmitKey->pvKeyTable)->bSoftWEP == TRUE)
// WEP 256 bSoftWEP = TRUE; /* WEP 256 */
bSoftWEP = TRUE; }
}
}
pTxBufHead = (PTX_BUFFER) usbPacketBuf; pTxBufHead = (PTX_BUFFER) usbPacketBuf;
memset(pTxBufHead, 0, sizeof(TX_BUFFER)); memset(pTxBufHead, 0, sizeof(TX_BUFFER));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment