projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0321740
)
ath9k: fix mic frame handling for bigger packets
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 12 Jul 2011 03:24:53 +0000
(
03:24
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 12 Jul 2011 03:24:53 +0000
(
03:24
+0000)
SVN-Revision: 27596
package/mac80211/patches/550-ath9k_mmic_verify.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/550-ath9k_mmic_verify.patch
b/package/mac80211/patches/550-ath9k_mmic_verify.patch
index 053d543cb02df49f614d090d32093d343424fb02..1918e11d7cfdd02f0424df56493e74eaaf5b3fb5 100644
(file)
--- a/
package/mac80211/patches/550-ath9k_mmic_verify.patch
+++ b/
package/mac80211/patches/550-ath9k_mmic_verify.patch
@@
-70,13
+70,13
@@
return true;
}
return true;
}
-@@ -1
882,6 +1881
,9 @@ int ath_rx_tasklet(struct ath_softc *sc,
- ath9k_rx_skb_postprocess(common, hdr_skb, &rs,
- rxs, decrypt_error);
+@@ -1
940,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);
+
+ 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 |