|
@@ -744,6 +744,7 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx)
|
|
|
struct ieee80211_local *local = rx->local;
|
|
|
struct ieee80211_hw *hw = &local->hw;
|
|
|
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data;
|
|
|
+ struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
|
|
|
struct sta_info *sta = rx->sta;
|
|
|
struct tid_ampdu_rx *tid_agg_rx;
|
|
|
u16 sc;
|
|
@@ -777,6 +778,10 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx)
|
|
|
ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_NORMAL)
|
|
|
goto dont_reorder;
|
|
|
|
|
|
+ /* not actually part of this BA session */
|
|
|
+ if (!(status->rx_flags & IEEE80211_RX_RA_MATCH))
|
|
|
+ goto dont_reorder;
|
|
|
+
|
|
|
/* new, potentially un-ordered, ampdu frame - process it */
|
|
|
|
|
|
/* reset session timer */
|