patch-2.4.18 linux/drivers/net/irda/irda-usb.c
Next file: linux/drivers/net/irda/irport.c
Previous file: linux/drivers/net/irda/ali-ircc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Feb 4 16:55:14 2002
- Orig file:
linux.orig/drivers/net/irda/irda-usb.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/net/irda/irda-usb.c linux/drivers/net/irda/irda-usb.c
@@ -427,7 +427,7 @@
mtt = irda_get_mtt(skb);
if (mtt) {
int diff;
- get_fast_time(&self->now);
+ do_gettimeofday(&self->now);
diff = self->now.tv_usec - self->stamp.tv_usec;
#ifdef IU_USB_MIN_RTT
/* Factor in USB delays -> Get rid of udelay() that
@@ -798,7 +798,7 @@
* reduce the min turn time a bit since we will know
* how much time we have used for protocol processing
*/
- get_fast_time(&self->stamp);
+ do_gettimeofday(&self->stamp);
/* Fix skb, and remove USB-IrDA header */
skb_put(skb, purb->actual_length);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)