Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2009 16:07:13 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191207 - head/sys/dev/ipw
Message-ID:  <200904171607.n3HG7DrR027311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Fri Apr 17 16:07:13 2009
New Revision: 191207
URL: http://svn.freebsd.org/changeset/base/191207

Log:
  Drain the driver tasks on the same taskqueue in which they were enqueued.

Modified:
  head/sys/dev/ipw/if_ipw.c

Modified: head/sys/dev/ipw/if_ipw.c
==============================================================================
--- head/sys/dev/ipw/if_ipw.c	Fri Apr 17 15:54:41 2009	(r191206)
+++ head/sys/dev/ipw/if_ipw.c	Fri Apr 17 16:07:13 2009	(r191207)
@@ -417,9 +417,9 @@ ipw_detach(device_t dev)
 	ieee80211_ifdetach(ic);
 
 	callout_drain(&sc->sc_wdtimer);
-	taskqueue_drain(taskqueue_fast, &sc->sc_init_task);
-	taskqueue_drain(taskqueue_fast, &sc->sc_scan_task);
-	taskqueue_drain(taskqueue_fast, &sc->sc_bmiss_task);
+	taskqueue_drain(taskqueue_swi, &sc->sc_init_task);
+	taskqueue_drain(taskqueue_swi, &sc->sc_scan_task);
+	taskqueue_drain(taskqueue_swi, &sc->sc_bmiss_task);
 
 	ipw_release(sc);
 



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