Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2009 16:33:27 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r196939 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net80211
Message-ID:  <200909071633.n87GXRBM020641@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909071633.n87GXRBM020641>