if (jiffies - dev->trans_start  < 20 * HZ) { 
if (time_before(jiffies, dev->trans_start + 20 * HZ)) { 
static int ax_xmit(struct sk_buff *skb, struct net_device *dev){	struct ax_disp *ax = netdev_priv(dev);	if (!netif_running(dev))  {		printk(KERN_ERR "mkiss: %s: xmit call when iface is down\n", dev->name);		return 1;	}	if (netif_queue_stopped(dev)) {		/*		 * May be we must check transmitter timeout here ?		 *      14 Oct 1994 Dmitry Gorodchanin.		 */		if (jiffies - dev->trans_start  < 20 * HZ) {			/* 20 sec timeout not reached */			return 1;		}		printk(KERN_ERR "mkiss: %s: transmit timed out, %s?\n", dev->name,		       (ax->tty->driver->chars_in_buffer(ax->tty) || ax->xleft) ?		       "bad line quality" : "driver error");		ax->xleft = 0;		ax->tty->flags &= ~(1 << TTY_DO_WRITE_WAKEUP);		ax_unlock(ax);	}	/* We were not busy, so we are now... :-) */	if (skb != NULL) {		ax_lock(ax);		ax_encaps(ax, skb->data, skb->len);		kfree_skb(skb);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cd8749b4aa6b7502e234d72cb53c00a3bc27ed1b/mkiss.c/clean/drivers/net/hamradio/mkiss.c