Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 23:05:03 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315596 - head/sys/net80211
Message-ID:  <201703192305.v2JN53gX079155@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Sun Mar 19 23:05:03 2017
New Revision: 315596
URL: https://svnweb.freebsd.org/changeset/base/315596

Log:
  net80211: reschedule tasks properly after r315594.

Modified:
  head/sys/net80211/ieee80211_superg.c

Modified: head/sys/net80211/ieee80211_superg.c
==============================================================================
--- head/sys/net80211/ieee80211_superg.c	Sun Mar 19 23:04:58 2017	(r315595)
+++ head/sys/net80211/ieee80211_superg.c	Sun Mar 19 23:05:03 2017	(r315596)
@@ -685,9 +685,8 @@ stageq_add(struct ieee80211com *ic, stru
 	} else {
 		sq->head = m;
 
-		/* Do not restart the timer if task was already scheduled. */
 		struct timeout_task *qtask = &ic->ic_superg->ff_qtimer;
-		taskqueue_enqueue_timeout(ic->ic_tq, qtask, -age);
+		taskqueue_enqueue_timeout(ic->ic_tq, qtask, age);
 	}
 	KASSERT(age >= 0, ("age %d", age));
 	M_AGE_SET(m, age);



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