svn commit: r196939 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net80211

Sam Leffler sam at FreeBSD.org
Mon Sep 7 16:33:27 UTC 2009


Author: sam
Date: Mon Sep  7 16:33:27 2009
New Revision: 196939
URL: http://svn.freebsd.org/changeset/base/196939

Log:
  MFC r196785:
      correct timeout for doing NOL processing; need a ticks-relative value
  
  Approved by:	re (kensmith)

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/net80211/ieee80211_dfs.c

Modified: stable/8/sys/net80211/ieee80211_dfs.c
==============================================================================
--- stable/8/sys/net80211/ieee80211_dfs.c	Mon Sep  7 16:26:03 2009	(r196938)
+++ stable/8/sys/net80211/ieee80211_dfs.c	Mon Sep  7 16:33:27 2009	(r196939)
@@ -235,7 +235,7 @@ dfs_timeout(void *arg)
 	}
 	if (oldest != now) {
 		/* arrange to process next channel up for a status change */
-		callout_schedule(&dfs->nol_timer, oldest + NOL_TIMEOUT);
+		callout_schedule(&dfs->nol_timer, oldest + NOL_TIMEOUT - now);
 	}
 }
 


More information about the svn-src-stable-8 mailing list