Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0766f233 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192su: remove JOHN_DUMP[_TXDESC] ifdefs

parent 5d9baea9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
TODO:
- prepare private ieee80211 stack for merge with rtl8187se's version:
  - remove JOHN_DUMP[_DESC] ifdefs
  - remove [IN]_OPENSUSE_SLED definitions
  - remove superflous container_of definition from ieee80211.h
  - remove rtl8192su's specific dead code
+0 −12
Original line number Diff line number Diff line
@@ -502,18 +502,6 @@ static int ieee80211_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
	skb_pull(skb, 8);
	skb_trim(skb, skb->len - 4);

//john's test
#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;
}

+0 −8
Original line number Diff line number Diff line
@@ -1966,14 +1966,6 @@ short rtl8192SU_tx_cmd(struct net_device *dev, struct sk_buff *skb)
	idx_pipe = txqueue2outpipe(priv,queue_index);
	//printk("=============>%s queue_index:%d, outpipe:%d\n", __func__,queue_index,priv->RtOutPipes[idx_pipe]);

#ifdef JOHN_DUMP_TXDESC
	int i;
	printk("Len = %d\n", skb->len);
	for (i = 0; i < 8; i++)
		printk("%2.2x ", *((u8*)skb->data+i));
	printk("\n");
#endif

	usb_fill_bulk_urb(tx_urb,
	                            priv->udev,
	                            usb_sndbulkpipe(priv->udev,priv->RtOutPipes[idx_pipe]),