aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-03-15 18:17:01 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 14:15:12 -0400
commitc835b21405fa551cd5af2c7bfe1c3ae129c5f8ef (patch)
tree8a038512613c5a03a423364c6e442ea2f632e038 /net/mac80211/rx.c
parente7fc63388def06d2d1bdb6916748c92c037a42c6 (diff)
mac80211: add comment about reordering
Took me a minute to figure this out, maybe it's better documented... Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 5c1930ba8ebe..82414a636824 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -706,6 +706,8 @@ static bool ieee80211_sta_manage_reorder_buf(struct ieee80211_hw *hw,
706 /* 706 /*
707 * If the current MPDU is in the right order and nothing else 707 * If the current MPDU is in the right order and nothing else
708 * is stored we can process it directly, no need to buffer it. 708 * is stored we can process it directly, no need to buffer it.
709 * If it is first but there's something stored, we may be able
710 * to release frames after this one.
709 */ 711 */
710 if (mpdu_seq_num == tid_agg_rx->head_seq_num && 712 if (mpdu_seq_num == tid_agg_rx->head_seq_num &&
711 tid_agg_rx->stored_mpdu_num == 0) { 713 tid_agg_rx->stored_mpdu_num == 0) {