Commit 334df731 authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville

mac80211: fix too early reorder release timer

The release timer has to expire "just" after a
frame is up for release. Currently, if the timer
callback starts on time, the "!time_after" check
above will start a new timer instead of
releasing the frames.
Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent caf1eae2
...@@ -652,7 +652,7 @@ static void ieee80211_sta_reorder_release(struct ieee80211_hw *hw, ...@@ -652,7 +652,7 @@ static void ieee80211_sta_reorder_release(struct ieee80211_hw *hw,
set_release_timer: set_release_timer:
mod_timer(&tid_agg_rx->reorder_timer, mod_timer(&tid_agg_rx->reorder_timer,
tid_agg_rx->reorder_time[j] + tid_agg_rx->reorder_time[j] + 1 +
HT_RX_REORDER_BUF_TIMEOUT); HT_RX_REORDER_BUF_TIMEOUT);
} else { } else {
del_timer(&tid_agg_rx->reorder_timer); del_timer(&tid_agg_rx->reorder_timer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment