patch-2.3.26 linux/drivers/net/irda/litelink.c

Next file: linux/drivers/net/irda/pc87108.c
Previous file: linux/drivers/net/irda/irtty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/drivers/net/irda/litelink.c linux/drivers/net/irda/litelink.c
@@ -1,12 +1,12 @@
 /*********************************************************************
  *                
  * Filename:      litelink.c
- * Version:       1.0
+ * Version:       1.1
  * Description:   Driver for the Parallax LiteLink dongle
  * Status:        Stable
  * Author:        Dag Brattli <dagb@cs.uit.no>
  * Created at:    Fri May  7 12:50:33 1999
- * Modified at:   Mon Oct 18 12:45:51 1999
+ * Modified at:   Sat Oct 30 20:24:58 1999
  * Modified by:   Dag Brattli <dagb@cs.uit.no>
  * 
  *     Copyright (c) 1999 Dag Brattli, All Rights Reserved.
@@ -122,7 +122,6 @@
 		/* Sleep a minimum of 15 us */
 		udelay(MIN_DELAY);
         }
-
 	irda_task_next_state(task, IRDA_TASK_DONE);
 
 	return 0;
@@ -131,8 +130,7 @@
 /*
  * Function litelink_reset (task)
  *
- *      Reset the Litelink type dongle. Warning, this function must only be
- *      called with a process context!
+ *      Reset the Litelink type dongle.
  *
  */
 static int litelink_reset(struct irda_task *task)
@@ -159,6 +157,8 @@
 
 	/* This dongles speed defaults to 115200 bps */
 	self->speed = 115200;
+
+	irda_task_next_state(task, IRDA_TASK_DONE);
 
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)