summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/540-ath9k_fix_eap_handling.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-03 00:43:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-03 00:43:09 +0000
commit085737e0b07e34dd0eac58a8882be126f1be993c (patch)
tree437ee4ba77f69b0f1501c0e9c9f44eb3ba01cdbb /package/mac80211/patches/540-ath9k_fix_eap_handling.patch
parentc272d54969db96727ed9fa6a8a88a6aa061623e5 (diff)
downloadmtk-20170518-085737e0b07e34dd0eac58a8882be126f1be993c.zip
mtk-20170518-085737e0b07e34dd0eac58a8882be126f1be993c.tar.gz
mtk-20170518-085737e0b07e34dd0eac58a8882be126f1be993c.tar.bz2
mac80211: update to latest wireless-testing from today
SVN-Revision: 19501
Diffstat (limited to 'package/mac80211/patches/540-ath9k_fix_eap_handling.patch')
-rw-r--r--package/mac80211/patches/540-ath9k_fix_eap_handling.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/540-ath9k_fix_eap_handling.patch b/package/mac80211/patches/540-ath9k_fix_eap_handling.patch
new file mode 100644
index 0000000..75e5e93
--- /dev/null
+++ b/package/mac80211/patches/540-ath9k_fix_eap_handling.patch
@@ -0,0 +1,20 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -1610,7 +1610,7 @@ static int ath_tx_setup_buffer(struct ie
+ bf->bf_frmlen -= padsize;
+ }
+
+- if (conf_is_ht(&hw->conf) && !is_pae(skb))
++ if (conf_is_ht(&hw->conf))
+ bf->bf_state.bf_type |= BUF_HT;
+
+ bf->bf_flags = setup_tx_flags(sc, skb, txctl->txq);
+@@ -1696,7 +1696,7 @@ static void ath_tx_start_dma(struct ath_
+ goto tx_done;
+ }
+
+- if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) {
++ if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && !is_pae(skb)) {
+ /*
+ * Try aggregation if it's a unicast data frame
+ * and the destination is HT capable.