aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-12 03:24:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-12 03:24:53 +0000
commitb2839b9754cc2e81678f665c674e96e5a2fc89d9 (patch)
treea6027955f5e8e42f15919f35cb7b5db3cbc04621 /package/mac80211
parent81573b0fa69969d63318d48b72cb489f57b3d93e (diff)
downloadupstream-b2839b9754cc2e81678f665c674e96e5a2fc89d9.tar.gz
upstream-b2839b9754cc2e81678f665c674e96e5a2fc89d9.tar.bz2
upstream-b2839b9754cc2e81678f665c674e96e5a2fc89d9.zip
ath9k: fix mic frame handling for bigger packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27596 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/550-ath9k_mmic_verify.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mac80211/patches/550-ath9k_mmic_verify.patch b/package/mac80211/patches/550-ath9k_mmic_verify.patch
index 053d543cb0..1918e11d7c 100644
--- a/package/mac80211/patches/550-ath9k_mmic_verify.patch
+++ b/package/mac80211/patches/550-ath9k_mmic_verify.patch
@@ -70,13 +70,13 @@
return true;
}
-@@ -1882,6 +1881,9 @@ int ath_rx_tasklet(struct ath_softc *sc,
- ath9k_rx_skb_postprocess(common, hdr_skb, &rs,
- rxs, decrypt_error);
+@@ -1940,6 +1939,9 @@ int ath_rx_tasklet(struct ath_softc *sc,
+ sc->rx.rxotherant = 0;
+ }
+ if (rxs->flag & RX_FLAG_MMIC_STRIPPED)
+ skb_trim(skb, skb->len - 8);
+
- /* We will now give hardware our shiny new allocated skb */
- bf->bf_mpdu = requeue_skb;
- bf->bf_buf_addr = dma_map_single(sc->dev, requeue_skb->data,
+ spin_lock_irqsave(&sc->sc_pm_lock, flags);
+
+ if ((sc->ps_flags & (PS_WAIT_FOR_BEACON |