mac80211: fix lookup for vlan'd stations for injected frames - fixes wpa rekeying...
[openwrt.git] / package / mac80211 / patches / 560-ath9k_fix_eap_handling.patch
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
4 return htype;
5 }
6
7 -static bool is_pae(struct sk_buff *skb)
8 -{
9 - struct ieee80211_hdr *hdr;
10 - __le16 fc;
11 -
12 - hdr = (struct ieee80211_hdr *)skb->data;
13 - fc = hdr->frame_control;
14 -
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))) {
19 - return true;
20 - }
21 - }
22 -
23 - return false;
24 -}
25 -
26 static int get_hw_crypto_keytype(struct sk_buff *skb)
27 {
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;
31 }
32
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;
36
37 bf->bf_flags = setup_tx_flags(sc, skb, txctl->txq);
This page took 0.055135 seconds and 5 git commands to generate.