aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-02-21 15:43:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-02-21 15:43:09 +0000
commit8f6fc9518c0a26f61e69e024e5a469231b7073b0 (patch)
tree8d8e1e90139de4f1942dc1c6331804ed1960f295 /package/mac80211/patches
parent0bf0203d882cb633f53b599f5b2d8afdb76a6777 (diff)
downloadupstream-8f6fc9518c0a26f61e69e024e5a469231b7073b0.tar.gz
upstream-8f6fc9518c0a26f61e69e024e5a469231b7073b0.tar.bz2
upstream-8f6fc9518c0a26f61e69e024e5a469231b7073b0.zip
[package] fix accidently commited ancient mac80211 patches in r19789-19791 (#6716)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/560-ath9k_fix_eap_handling.patch37
-rw-r--r--package/mac80211/patches/570-ap_vlan_injection.patch11
2 files changed, 0 insertions, 48 deletions
diff --git a/package/mac80211/patches/560-ath9k_fix_eap_handling.patch b/package/mac80211/patches/560-ath9k_fix_eap_handling.patch
deleted file mode 100644
index d72fa97ad7..0000000000
--- a/package/mac80211/patches/560-ath9k_fix_eap_handling.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/xmit.c
-+++ b/drivers/net/wireless/ath/ath9k/xmit.c
-@@ -1353,25 +1353,6 @@ static enum ath9k_pkt_type get_hw_packet
- return htype;
- }
-
--static bool is_pae(struct sk_buff *skb)
--{
-- struct ieee80211_hdr *hdr;
-- __le16 fc;
--
-- hdr = (struct ieee80211_hdr *)skb->data;
-- fc = hdr->frame_control;
--
-- if (ieee80211_is_data(fc)) {
-- if (ieee80211_is_nullfunc(fc) ||
-- /* Port Access Entity (IEEE 802.1X) */
-- (skb->protocol == cpu_to_be16(ETH_P_PAE))) {
-- return true;
-- }
-- }
--
-- return false;
--}
--
- static int get_hw_crypto_keytype(struct sk_buff *skb)
- {
- struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
-@@ -1610,7 +1591,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);
diff --git a/package/mac80211/patches/570-ap_vlan_injection.patch b/package/mac80211/patches/570-ap_vlan_injection.patch
deleted file mode 100644
index 581b4a0143..0000000000
--- a/package/mac80211/patches/570-ap_vlan_injection.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/net/mac80211/tx.c
-+++ b/net/mac80211/tx.c
-@@ -1135,6 +1135,8 @@ ieee80211_tx_prepare(struct ieee80211_su
- tx->sta = rcu_dereference(sdata->u.vlan.sta);
- if (!tx->sta && sdata->dev->ieee80211_ptr->use_4addr)
- return TX_DROP;
-+ } else if (info->flags & IEEE80211_TX_CTL_INJECTED) {
-+ tx->sta = sta_info_get_bss(sdata, hdr->addr1);
- }
- if (!tx->sta)
- tx->sta = sta_info_get(sdata, hdr->addr1);