Skip to content

Commit

Permalink
zd1211rw: make 'handle_rx_packet: invalid, small RX packet' message d…
Browse files Browse the repository at this point in the history
…ebug-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 <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jussi Kivilinna authored and John W. Linville committed Jun 22, 2011
1 parent 7a1d656 commit b405e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/zd1211rw/zd_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *)
Expand Down

0 comments on commit b405e1b

Please sign in to comment.