patch-2.2.3 linux/net/irda/iriap_event.c
Next file: linux/net/irda/irlan/Config.in
Previous file: linux/net/irda/iriap.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Mar 7 15:26:44 1999
- Orig file:
v2.2.2/linux/net/irda/iriap_event.c
- Orig date:
Tue Dec 22 14:16:59 1998
diff -u --recursive --new-file v2.2.2/linux/net/irda/iriap_event.c linux/net/irda/iriap_event.c
@@ -6,7 +6,7 @@
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Thu Aug 21 00:02:07 1997
- * Modified at: Wed Dec 9 02:20:02 1998
+ * Modified at: Tue Jan 26 12:29:36 1999
* Modified by: Dag Brattli <dagb@cs.uit.no>
*
* Copyright (c) 1997 Dag Brattli <dagb@cs.uit.no>, All Rights Reserved.
@@ -184,6 +184,8 @@
static void state_s_disconnect( struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb)
{
+ int ret;
+
ASSERT( self != NULL, return;);
ASSERT( self->magic == IAS_MAGIC, return;);
@@ -191,13 +193,14 @@
case IAP_CALL_REQUEST_GVBC:
iriap_next_client_state( self, S_CONNECTING);
self->skb = skb;
- irlmp_connect_request( self->lsap, LSAP_IAS, self->daddr,
- NULL, NULL);
+ ret = irlmp_connect_request( self->lsap, LSAP_IAS,
+ self->saddr, self->daddr,
+ NULL, NULL);
break;
case IAP_LM_DISCONNECT_INDICATION:
break;
default:
- DEBUG( 0, "state_s_disconnect: Unknown event %d\n", event);
+ DEBUG( 0, __FUNCTION__"(), Unknown event %d\n", event);
break;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)