1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -1353,25 +1353,6 @@ static enum ath9k_pkt_type get_hw_packet
7 -static bool is_pae(struct sk_buff *skb)
9 - struct ieee80211_hdr *hdr;
12 - hdr = (struct ieee80211_hdr *)skb->data;
13 - fc = hdr->frame_control;
15 - if (ieee80211_is_data(fc)) {
16 - if (ieee80211_is_nullfunc(fc) ||
17 - /* Port Access Entity (IEEE 802.1X) */
18 - (skb->protocol == cpu_to_be16(ETH_P_PAE))) {
26 static int get_hw_crypto_keytype(struct sk_buff *skb)
28 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
29 @@ -1610,7 +1591,7 @@ static int ath_tx_setup_buffer(struct ie
30 bf->bf_frmlen -= padsize;
33 - if (conf_is_ht(&hw->conf) && !is_pae(skb))
34 + if (conf_is_ht(&hw->conf))
35 bf->bf_state.bf_type |= BUF_HT;
37 bf->bf_flags = setup_tx_flags(sc, skb, txctl->txq);