diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 72c1eb4eb451..04c1b05ba339 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -744,6 +744,7 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx) | |||
744 | struct ieee80211_local *local = rx->local; | 744 | struct ieee80211_local *local = rx->local; |
745 | struct ieee80211_hw *hw = &local->hw; | 745 | struct ieee80211_hw *hw = &local->hw; |
746 | struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; | 746 | struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; |
747 | struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); | ||
747 | struct sta_info *sta = rx->sta; | 748 | struct sta_info *sta = rx->sta; |
748 | struct tid_ampdu_rx *tid_agg_rx; | 749 | struct tid_ampdu_rx *tid_agg_rx; |
749 | u16 sc; | 750 | u16 sc; |
@@ -777,6 +778,10 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx) | |||
777 | ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_NORMAL) | 778 | ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_NORMAL) |
778 | goto dont_reorder; | 779 | goto dont_reorder; |
779 | 780 | ||
781 | /* not actually part of this BA session */ | ||
782 | if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) | ||
783 | goto dont_reorder; | ||
784 | |||
780 | /* new, potentially un-ordered, ampdu frame - process it */ | 785 | /* new, potentially un-ordered, ampdu frame - process it */ |
781 | 786 | ||
782 | /* reset session timer */ | 787 | /* reset session timer */ |