mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
staging: vt6656: 64bit fixes: dpc.c incorrect addressing of void structure.
Fixes the deadlock on 64 bit. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e2efba763b
commit
eb304bddc4
@@ -1217,7 +1217,7 @@ static BOOL s_bHandleRxEncryption (
|
||||
if (byDecMode == KEY_CTL_WEP) {
|
||||
// handle WEP
|
||||
if ((pDevice->byLocalID <= REV_ID_VT3253_A1) ||
|
||||
(((PSKeyTable)(pKey->pvKeyTable))->bSoftWEP == TRUE)) {
|
||||
(((PSKeyTable)(&pKey->pvKeyTable))->bSoftWEP == TRUE)) {
|
||||
// Software WEP
|
||||
// 1. 3253A
|
||||
// 2. WEP 256
|
||||
@@ -1324,9 +1324,9 @@ static BOOL s_bHostWepRxEncryption (
|
||||
|
||||
if (byDecMode == KEY_CTL_WEP) {
|
||||
// handle WEP
|
||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"byDecMode == KEY_CTL_WEP \n");
|
||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"byDecMode == KEY_CTL_WEP\n");
|
||||
if ((pDevice->byLocalID <= REV_ID_VT3253_A1) ||
|
||||
(((PSKeyTable)(pKey->pvKeyTable))->bSoftWEP == TRUE) ||
|
||||
(((PSKeyTable)(&pKey->pvKeyTable))->bSoftWEP == TRUE) ||
|
||||
(bOnFly == FALSE)) {
|
||||
// Software WEP
|
||||
// 1. 3253A
|
||||
|
||||
Reference in New Issue
Block a user