mac80211: fix reorder issues with multicast packets (client mode)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 20 Nov 2013 17:33:50 +0000 (17:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 20 Nov 2013 17:33:50 +0000 (17:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38883

package/kernel/mac80211/patches/300-pending_work.patch

index 60a06c60ff3ac1f8739c40f44c18a3bd85053c21..962c5e848b1199a4c7f70fa8099dd814f82a4110 100644 (file)
  
        /* check if we already stored this frame */
        if (tid_agg_rx->reorder_buf[index]) {
+@@ -911,7 +903,8 @@ static void ieee80211_rx_reorder_ampdu(s
+       u16 sc;
+       u8 tid, ack_policy;
+-      if (!ieee80211_is_data_qos(hdr->frame_control))
++      if (!ieee80211_is_data_qos(hdr->frame_control) ||
++          is_multicast_ether_addr(hdr->addr1))
+               goto dont_reorder;
+       /*
 --- a/net/mac80211/scan.c
 +++ b/net/mac80211/scan.c
 @@ -526,7 +526,7 @@ static int __ieee80211_start_scan(struct