aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-10 22:19:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-10 22:19:53 +0000
commit0335b8b1becf5fe0a251dccbc476458d02a86464 (patch)
treece4fd59be289e28ed153e234e83c2844ff507eb8 /package/madwifi
parent713ddc419aef331ae12b5601244a001e5a728c8f (diff)
downloadupstream-0335b8b1becf5fe0a251dccbc476458d02a86464.tar.gz
upstream-0335b8b1becf5fe0a251dccbc476458d02a86464.tar.bz2
upstream-0335b8b1becf5fe0a251dccbc476458d02a86464.zip
madwifi: do not add the ff headroom len to dev->hard_header_len to avoid unnecessary reallocations. the driver will reallocate skbs itself if necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15762 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/426-header_len.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/426-header_len.patch b/package/madwifi/patches/426-header_len.patch
new file mode 100644
index 0000000000..acfbc18c65
--- /dev/null
+++ b/package/madwifi/patches/426-header_len.patch
@@ -0,0 +1,12 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -888,9 +888,6 @@ ath_attach(u_int16_t devid, struct net_d
+ IEEE80211_ADDR_LEN +
+ IEEE80211_WEP_IVLEN +
+ IEEE80211_WEP_KIDLEN;
+-#ifdef ATH_SUPERG_FF
+- dev->hard_header_len += ATH_FF_MAX_HDR;
+-#endif
+ #endif
+ dev->type = ARPHRD_IEEE80211;
+