[source] mac80211: fix tx issue with CCMP PN generated in hardware
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 12 09:21:58 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/f3747020e202883a43729fc245986f9e36289d6c
commit f3747020e202883a43729fc245986f9e36289d6c
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Sep 12 11:25:20 2016 +0200
mac80211: fix tx issue with CCMP PN generated in hardware
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/mac80211/patches/346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch b/package/kernel/mac80211/patches/346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch
index 8ceed51..aba1ff4 100644
--- a/package/kernel/mac80211/patches/346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch
+++ b/package/kernel/mac80211/patches/346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch
@@ -404,7 +404,7 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
sta->tx_stats.packets[skb_get_queue_mapping(skb)]++;
- if (fast_tx->pn_offs) {
-+ if (pn_offs) {
++ if (pn_offs && (key_conf->flags & IEEE80211_KEY_FLAG_GENERATE_IV)) {
u64 pn;
- u8 *crypto_hdr = skb->data + fast_tx->pn_offs;
+ u8 *crypto_hdr = skb->data + pn_offs;
More information about the lede-commits
mailing list