summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-03-15 23:17:01 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 14:15:12 -0400
commitc835b21405fa551cd5af2c7bfe1c3ae129c5f8ef (patch)
tree8a038512613c5a03a423364c6e442ea2f632e038 /net/mac80211/rx.c
parente7fc63388def06d2d1bdb6916748c92c037a42c6 (diff)
downloadblackbird-op-linux-c835b21405fa551cd5af2c7bfe1c3ae129c5f8ef.tar.gz
blackbird-op-linux-c835b21405fa551cd5af2c7bfe1c3ae129c5f8ef.zip
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,
/*
* 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) {
OpenPOWER on IntegriCloud