[PATCH 2.4] : ir240_expiry_fix.diff

From: Jean Tourrilhes (jt@bougret.hpl.hp.com)
Date: Tue Aug 06 2002 - 15:55:31 EST


ir240_expiry_fix.diff :
---------------------
        o [CORRECT] Make discovery expiry work properly for non default
                discovery period/timeout

diff -u -p linux/include/net/irda/discovery.d1.h linux/include/net/irda/discovery.h
--- linux/include/net/irda/discovery.d1.h Mon Aug 5 16:00:23 2002
+++ linux/include/net/irda/discovery.h Mon Aug 5 16:00:28 2002
@@ -36,7 +36,7 @@
 #include <net/irda/irda.h>
 #include <net/irda/irqueue.h>
 
-#define DISCOVERY_EXPIRE_TIMEOUT 6*HZ
+#define DISCOVERY_EXPIRE_TIMEOUT (2*sysctl_discovery_timeout*HZ)
 #define DISCOVERY_DEFAULT_SLOTS 0
 
 /* Types of discovery */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:33 EST