Commit bebbb29c authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: dead code byCntMeasure/TKIPCounterMeasuresInvoked



remove TKIPCounterMeasuresInvoked and byCntMeasure

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95e40c7a
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -733,7 +733,6 @@ typedef struct __device_info {
    BYTE                    byKeyIndex;
    BYTE                    byKeyIndex;


    BOOL                    bAES;
    BOOL                    bAES;
    BYTE                    byCntMeasure;


    unsigned int                    uKeyLength;
    unsigned int                    uKeyLength;
    BYTE                    abyKey[WLAN_WEP232_KEYLEN];
    BYTE                    abyKey[WLAN_WEP232_KEYLEN];
+0 −1
Original line number Original line Diff line number Diff line
@@ -68,7 +68,6 @@ typedef struct tagSDot11Counters {
    unsigned long long   TKIPLocalMICFailures;
    unsigned long long   TKIPLocalMICFailures;
    unsigned long long   TKIPRemoteMICFailures;
    unsigned long long   TKIPRemoteMICFailures;
    unsigned long long   TKIPICVErrors;
    unsigned long long   TKIPICVErrors;
    unsigned long long   TKIPCounterMeasuresInvoked;
    unsigned long long   TKIPReplays;
    unsigned long long   TKIPReplays;
    unsigned long long   CCMPFormatErrors;
    unsigned long long   CCMPFormatErrors;
    unsigned long long   CCMPReplays;
    unsigned long long   CCMPReplays;
+0 −5
Original line number Original line Diff line number Diff line
@@ -3033,11 +3033,6 @@ int nsDMA_tx_packet(PSDevice pDevice, unsigned int uDMAIdx, struct sk_buff *skb)
                }
                }
            }
            }


            if (pDevice->byCntMeasure == 2) {
                bNeedDeAuth = TRUE;
                pDevice->s802_11Counter.TKIPCounterMeasuresInvoked++;
            }

            if (pDevice->bEnableHostWEP) {
            if (pDevice->bEnableHostWEP) {
                if ((uNodeIndex != 0) &&
                if ((uNodeIndex != 0) &&
                    (pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex & PAIRWISE_KEY)) {
                    (pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex & PAIRWISE_KEY)) {