From owner-svn-src-head@freebsd.org Sun Mar 19 23:05:04 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC6D1D137C2; Sun, 19 Mar 2017 23:05:04 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B18231554; Sun, 19 Mar 2017 23:05:04 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2JN53DF079156; Sun, 19 Mar 2017 23:05:03 GMT (envelope-from avos@FreeBSD.org) Received: (from avos@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2JN53gX079155; Sun, 19 Mar 2017 23:05:03 GMT (envelope-from avos@FreeBSD.org) Message-Id: <201703192305.v2JN53gX079155@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avos set sender to avos@FreeBSD.org using -f From: Andriy Voskoboinyk Date: Sun, 19 Mar 2017 23:05:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315596 - head/sys/net80211 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2017 23:05:05 -0000 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);