Skip to contentSkip to conversation

mac80211: add comment about reordering

PATCH New Johannes Berg 1 participant 1 message Mar 15, 2011 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: add comment about reordering

From: Johannes Berg <[email protected]>

Took me a minute to figure this out, maybe
it's better documented...

---
 net/mac80211/rx.c |    2 ++
 1 file changed, 2 insertions(+)
net/mac80211/rx.c +2 -0
@@ -706,6 +706,8 @@ static bool ieee80211_sta_manage_reorder
 	/*
 	 * 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) {