speedtch speedtch.c,1.54,1.55

Duncan Sands duncan at infradead.org
Mon Apr 25 17:49:18 EDT 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv23175

Modified Files:
	speedtch.c 
Log Message:
Seems more logical this way round, though it won't have any effect in practice.


Index: speedtch.c
===================================================================
RCS file: /home/cvs/speedtch/speedtch.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- speedtch.c	25 Apr 2005 21:47:30 -0000	1.54
+++ speedtch.c	25 Apr 2005 21:49:15 -0000	1.55
@@ -601,9 +601,6 @@
 	/* Start modem synchronisation */
 	ret = speedtch_start_synchro(instance);
 
-	/* Start status polling */
-	mod_timer(&instance->status_checker.timer, jiffies + (1 * HZ));
-
 	/* Set up interrupt endpoint */
 	if (instance->int_urb) {
 		ret = usb_submit_urb(instance->int_urb, GFP_KERNEL);
@@ -615,6 +612,9 @@
 		}
 	}
 
+	/* Start status polling */
+	mod_timer(&instance->status_checker.timer, jiffies + (1 * HZ));
+
 	return 0;
 }
 




More information about the Usbatm-commits mailing list