Hi, irtty increases the tx packet count in the wrong place. The patch below should fix it. irport does it correctly, btw.
Cheers, Frank -- Frank Becker - Intrinsyc Software, Inc. - http://www.intrinsyc.com/ Need a break? http://criticalmass.sf.net/ --- linux-2.5.7/drivers/net/irda/irtty.c Mon Mar 18 12:37:09 2002 +++ fix/drivers/net/irda/irtty.c Thu Mar 21 14:02:38 2002 @@ -713,8 +713,6 @@ self->tx_buff.data += actual; self->tx_buff.len -= actual; - - self->stats.tx_packets++; } else { /* * Now serial buffer is almost free & we can start @@ -734,6 +732,7 @@ /* Tell network layer that we want more frames */ netif_wake_queue(self->netdev); } + self->stats.tx_packets++; } } _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
