zd1211rw: make 'handle_rx_packet: invalid, small RX packet' message debug-only
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Mon, 20 Jun 2011 11:42:33 +0000 (14:42 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Jun 2011 20:09:45 +0000 (16:09 -0400)
This message is should be debug-only as it tells almost nothing useful. It also
happens very often and just floods logs.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c

index 631194d498288aecff07f190cb76500ae107cd3f..621c2cc9fc853b3be1de215dd23c81726a47f838 100644 (file)
@@ -579,8 +579,8 @@ static void handle_rx_packet(struct zd_usb *usb, const u8 *buffer,
 
        if (length < sizeof(struct rx_length_info)) {
                /* It's not a complete packet anyhow. */
-               printk("%s: invalid, small RX packet : %d\n",
-                      __func__, length);
+               dev_dbg_f(zd_usb_dev(usb), "invalid, small RX packet : %d\n",
+                                          length);
                return;
        }
        length_info = (struct rx_length_info *)