diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-09-12 11:25:20 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-09-12 11:25:33 +0200 |
commit | f3747020e202883a43729fc245986f9e36289d6c (patch) | |
tree | a8842272fba6bf771813d02dda8e3429ae5403a9 | |
parent | c7d5bc8197609a62f03f3f6b3d665ae73bd1072b (diff) | |
download | mtk-20170518-f3747020e202883a43729fc245986f9e36289d6c.zip mtk-20170518-f3747020e202883a43729fc245986f9e36289d6c.tar.gz mtk-20170518-f3747020e202883a43729fc245986f9e36289d6c.tar.bz2 |
mac80211: fix tx issue with CCMP PN generated in hardware
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/kernel/mac80211/patches/346-mac80211-Move-reorder-sensitive-TX-handlers-to-after.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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@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; |