patch-2.3.35 linux/net/irda/ircomm/ircomm_lmp.c
Next file: linux/net/irda/ircomm/ircomm_param.c
Previous file: linux/net/irda/ircomm/ircomm_event.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Tue Dec 21 10:17:58 1999
- Orig file:
v2.3.34/linux/net/irda/ircomm/ircomm_lmp.c
- Orig date:
Sun Nov 7 16:37:34 1999
diff -u --recursive --new-file v2.3.34/linux/net/irda/ircomm/ircomm_lmp.c linux/net/irda/ircomm/ircomm_lmp.c
@@ -1,12 +1,12 @@
/*********************************************************************
*
* Filename: ircomm_lmp.c
- * Version:
+ * Version: 1.0
* Description: Interface between IrCOMM and IrLMP
- * Status: Experimental.
+ * Status: Stable
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Sun Jun 6 20:48:27 1999
- * Modified at: Sat Oct 30 12:55:24 1999
+ * Modified at: Sun Dec 12 13:44:17 1999
* Modified by: Dag Brattli <dagb@cs.uit.no>
* Sources: Previous IrLPT work by Thomas Davis
*
@@ -60,7 +60,7 @@
notify.instance = self;
strncpy(notify.name, "IrCOMM", NOTIFY_MAX_NAME);
- self->lsap = irlmp_open_lsap(LSAP_ANY, ¬ify);
+ self->lsap = irlmp_open_lsap(LSAP_ANY, ¬ify, 0);
if (!self->lsap) {
IRDA_DEBUG(0,__FUNCTION__"failed to allocate tsap\n");
return -1;
@@ -128,11 +128,8 @@
if (!skb)
return -ENOMEM;
- /*
- * Reserve space for MUX and LAP header
- */
- skb_reserve(skb, LMP_MAX_HEADER);
-
+ /* Reserve space for MUX and LAP header */
+ skb_reserve(skb, LMP_MAX_HEADER);
userdata = skb;
}
ret = irlmp_disconnect_request(self->lsap, userdata);
@@ -323,5 +320,3 @@
ircomm_do_event(self, IRCOMM_LMP_DISCONNECT_INDICATION, skb, &info);
}
-
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)