From: Jussi Kivilinna Date: Mon, 20 Jun 2011 11:42:33 +0000 (+0300) Subject: zd1211rw: make 'handle_rx_packet: invalid, small RX packet' message debug-only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b405e1b83dc2bb662c4be2612674a8d0ef900e26;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git zd1211rw: make 'handle_rx_packet: invalid, small RX packet' message debug-only 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/zd1211rw/zd_usb.c b/drivers/net/wireless/zd1211rw/zd_usb.c index 631194d49828..621c2cc9fc85 100644 --- a/drivers/net/wireless/zd1211rw/zd_usb.c +++ b/drivers/net/wireless/zd1211rw/zd_usb.c @@ -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 *)