net80211: reschedule tasks properly after r315594.
This commit is contained in:
parent
b6f3126cc0
commit
ff8cc09179
@ -685,9 +685,8 @@ stageq_add(struct ieee80211com *ic, struct ieee80211_stageq *sq, struct mbuf *m)
|
|||||||
} else {
|
} else {
|
||||||
sq->head = m;
|
sq->head = m;
|
||||||
|
|
||||||
/* Do not restart the timer if task was already scheduled. */
|
|
||||||
struct timeout_task *qtask = &ic->ic_superg->ff_qtimer;
|
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));
|
KASSERT(age >= 0, ("age %d", age));
|
||||||
M_AGE_SET(m, age);
|
M_AGE_SET(m, age);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user