zd1211rw: make 'handle_rx_packet: invalid, small RX packet' message debug-only
[sfrench/cifs-2.6.git] / 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 *)