summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-03-15 22:17:01 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 18:15:12 (GMT)
commitc835b21405fa551cd5af2c7bfe1c3ae129c5f8ef (patch)
tree8a038512613c5a03a423364c6e442ea2f632e038 /net/mac80211
parente7fc63388def06d2d1bdb6916748c92c037a42c6 (diff)
downloadlinux-c835b21405fa551cd5af2c7bfe1c3ae129c5f8ef.tar.xz
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')
-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 5c1930ba..82414a6 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,
/*
* If the current MPDU is in the right order and nothing else
* is stored we can process it directly, no need to buffer it.
+ * If it is first but there's something stored, we may be able
+ * to release frames after this one.
*/
if (mpdu_seq_num == tid_agg_rx->head_seq_num &&
tid_agg_rx->stored_mpdu_num == 0) {