refresh generic 2.6.32 patches
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 540-ath9k_fix_eap_handling.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -1610,7 +1610,7 @@ static int ath_tx_setup_buffer(struct ie
4 bf->bf_frmlen -= padsize;
5 }
6
7 - if (conf_is_ht(&hw->conf) && !is_pae(skb))
8 + if (conf_is_ht(&hw->conf))
9 bf->bf_state.bf_type |= BUF_HT;
10
11 bf->bf_flags = setup_tx_flags(sc, skb, txctl->txq);
12 @@ -1696,7 +1696,7 @@ static void ath_tx_start_dma(struct ath_
13 goto tx_done;
14 }
15
16 - if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) {
17 + if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && !is_pae(skb)) {
18 /*
19 * Try aggregation if it's a unicast data frame
20 * and the destination is HT capable.