diff options
author | adrian <adrian@FreeBSD.org> | 2012-01-22 05:30:29 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-01-22 05:30:29 +0000 |
commit | 00f15827a5331d5d6a7218fd8416d5e3b2f37d77 (patch) | |
tree | 8b7a096190538ca980e479ac4416314ad724e150 | |
parent | 6bf53cf3c1805a6782b41cc9d0972ce9736deac4 (diff) | |
download | FreeBSD-src-00f15827a5331d5d6a7218fd8416d5e3b2f37d77.zip FreeBSD-src-00f15827a5331d5d6a7218fd8416d5e3b2f37d77.tar.gz |
Mark the taskqueue as the _net80211_ taskqueue.
This makes it much easier to determine whether an event occurs in the
net80211 taskqueue (which was called "ath0 taskq") or the ath driver
taskqueue (which is also called "ath0 taskq".)
-rw-r--r-- | sys/net80211/ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 24a5405..d866bbf 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -276,7 +276,7 @@ ieee80211_ifattach(struct ieee80211com *ic, /* Create a taskqueue for all state changes */ ic->ic_tq = taskqueue_create("ic_taskq", M_WAITOK | M_ZERO, taskqueue_thread_enqueue, &ic->ic_tq); - taskqueue_start_threads(&ic->ic_tq, 1, PI_NET, "%s taskq", + taskqueue_start_threads(&ic->ic_tq, 1, PI_NET, "%s net80211 taskq", ifp->if_xname); /* * Fill in 802.11 available channel set, mark all |