staging: vt6656: 64 bit- Correctly address void structure.
Fixes 64 bit deadlock on successful association. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0421226828
commit
e2efba763b
@ -1452,12 +1452,10 @@ s_bPacketToWirelessUsb(
|
||||
|
||||
|
||||
pvRrvTime = pMICHDR = pvRTS = pvCTS = pvTxDataHd = NULL;
|
||||
if ((bNeedEncryption) && (pTransmitKey != NULL)) {
|
||||
if (((PSKeyTable) (pTransmitKey->pvKeyTable))->bSoftWEP == TRUE) {
|
||||
// WEP 256
|
||||
bSoftWEP = TRUE;
|
||||
}
|
||||
}
|
||||
if (bNeedEncryption && pTransmitKey->pvKeyTable) {
|
||||
if (((PSKeyTable)&pTransmitKey->pvKeyTable)->bSoftWEP == TRUE)
|
||||
bSoftWEP = TRUE; /* WEP 256 */
|
||||
}
|
||||
|
||||
pTxBufHead = (PTX_BUFFER) usbPacketBuf;
|
||||
memset(pTxBufHead, 0, sizeof(TX_BUFFER));
|
||||
|
Loading…
x
Reference in New Issue
Block a user