mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] : ir251_expiry_fix.diff
@ 2002-06-12 18:53 Jean Tourrilhes
  0 siblings, 0 replies; only message in thread
From: Jean Tourrilhes @ 2002-06-12 18:53 UTC (permalink / raw)
  To: Jeff Garzik, irda-users, Linux kernel mailing list

	Jeff,

	Could you add this trivial patch to the batch of patches I've
already sent you for 2.5.22 ?
	Thanks,

	Jean


ir251_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	Wed Jun 12 10:55:58 2002
+++ linux/include/net/irda/discovery.h	Wed Jun 12 10:56:42 2002
@@ -38,7 +38,7 @@
 #include <net/irda/irqueue.h>		/* irda_queue_t */
 #include <net/irda/irlap_event.h>	/* LAP_REASON */
 
-#define DISCOVERY_EXPIRE_TIMEOUT 6*HZ
+#define DISCOVERY_EXPIRE_TIMEOUT (2*sysctl_discovery_timeout*HZ)
 #define DISCOVERY_DEFAULT_SLOTS  0
 
 /*


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-12 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-12 18:53 [PATCH] : ir251_expiry_fix.diff Jean Tourrilhes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®