patch-2.2.3 linux/net/irda/irlan/irlan_event.c

Next file: linux/net/irda/irlan/irlan_filter.c
Previous file: linux/net/irda/irlan/irlan_eth.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.2/linux/net/irda/irlan/irlan_event.c linux/net/irda/irlan/irlan_event.c
@@ -6,7 +6,7 @@
  * Status:        Experimental.
  * Author:        Dag Brattli <dagb@cs.uit.no>
  * Created at:    Tue Oct 20 09:10:16 1998
- * Modified at:   Sat Dec  5 14:52:22 1998
+ * Modified at:   Wed Feb  3 21:42:27 1999
  * Modified by:   Dag Brattli <dagb@cs.uit.no>
  * 
  *     Copyright (c) 1998 Dag Brattli, All Rights Reserved.
@@ -38,11 +38,23 @@
 	"IRLAN_SYNC",
 };
 
-void irlan_next_state( struct irlan_cb *self, 
-		       IRLAN_STATE state) 
+void irlan_next_client_state( struct irlan_cb *self, IRLAN_STATE state) 
 {
+	DEBUG(2, __FUNCTION__"(), %s\n", irlan_state[state]);
+
 	ASSERT( self != NULL, return;);
 	ASSERT( self->magic == IRLAN_MAGIC, return;);
 
-	self->state = state;
+	self->client.state = state;
 }
+
+void irlan_next_provider_state( struct irlan_cb *self, IRLAN_STATE state) 
+{
+	DEBUG(2, __FUNCTION__"(), %s\n", irlan_state[state]);
+
+	ASSERT( self != NULL, return;);
+	ASSERT( self->magic == IRLAN_MAGIC, return;);
+
+	self->provider.state = state;
+}
+

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