mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
net80211: reschedule tasks properly after r315594.
This commit is contained in:
parent
f72823da48
commit
dc33c66d2b
1 changed files with 1 additions and 2 deletions
|
|
@ -685,9 +685,8 @@ stageq_add(struct ieee80211com *ic, struct ieee80211_stageq *sq, struct mbuf *m)
|
|||
} 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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue