]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Remove code dependent of JOHN_DUMP
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 13 Jul 2011 14:38:53 +0000 (09:38 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 01:38:21 +0000 (20:38 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib_crypt_tkip.c

index b75b2b4f4f9a5d34e8acd0d7e0b4766575c33130..8918aa5760a92c70fe32a556f22aa489884af157 100644 (file)
@@ -489,17 +489,6 @@ static int rtllib_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
        skb_pull(skb, 8);
        skb_trim(skb, skb->len - 4);
 
-#ifdef JOHN_DUMP
-if ( ((u16*)skb->data)[0] & 0x4000){
-        printk("@@ rx decrypted skb->data");
-        int i;
-        for (i = 0; i < skb->len; i++) {
-                if ( (i%24)==0 ) printk("\n");
-                printk("%2x ", ((u8*)skb->data)[i]);
-        }
-        printk("\n");
-}
-#endif /*JOHN_DUMP*/
        return keyidx;
 }