patch-2.4.20 linux-2.4.20/include/net/irda/ircomm_tty.h

Next file: linux-2.4.20/include/net/irda/irlan_client.h
Previous file: linux-2.4.20/include/net/irda/discovery.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/net/irda/ircomm_tty.h linux-2.4.20/include/net/irda/ircomm_tty.h
@@ -44,6 +44,11 @@
 #define IRCOMM_TTY_MAJOR 161
 #define IRCOMM_TTY_MINOR 0
 
+/* This is used as an initial value to max_header_size before the proper
+ * value is filled in (5 for ttp, 4 for lmp). This allow us to detect
+ * the state of the underlying connection. - Jean II */
+#define IRCOMM_TTY_HDR_UNITIALISED	32
+
 /*
  * IrCOMM TTY driver state
  */

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