Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c835b214 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: add comment about reordering



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

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e7fc6338
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {