diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-25 11:48:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-25 10:05:09 -0700 |
commit | 55dc4eb35f7c191db2767c887c158a8de0e6e4f7 (patch) | |
tree | 64a4b13aebbcd57910cd00e35ff9a607d826bed3 /drivers/staging/rtl8192e | |
parent | 0dd565069b21ae20f4916cf305b64268bb3f9d3f (diff) | |
download | op-kernel-dev-55dc4eb35f7c191db2767c887c158a8de0e6e4f7.zip op-kernel-dev-55dc4eb35f7c191db2767c887c158a8de0e6e4f7.tar.gz |
staging: rtl8192e: Remove extraneous log message
The driver logs all DHCP transactions and thus spams the logs.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_tx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index d03b5aa..7ccad86 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -632,15 +632,13 @@ int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) goto success; } - if (skb->len > 282){ + if (skb->len > 282) { if (ETH_P_IP == ether_type) { const struct iphdr *ip = (struct iphdr *)((u8 *)skb->data+14); if (IPPROTO_UDP == ip->protocol) { struct udphdr *udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2)); if (((((u8 *)udp)[1] == 68) && (((u8 *)udp)[3] == 67)) || ((((u8 *)udp)[1] == 67) && (((u8 *)udp)[3] == 68))) { - printk("DHCP pkt src port:%d, dest port:%d!!\n", ((u8 *)udp)[1],((u8 *)udp)[3]); - bdhcp = true; ieee->LPSDelayCnt = 200; } |