madwifi: do not add the ff headroom len to dev->hard_header_len to avoid unnecessary...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 May 2009 22:19:53 +0000 (22:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 May 2009 22:19:53 +0000 (22:19 +0000)
SVN-Revision: 15762

package/madwifi/patches/426-header_len.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/426-header_len.patch b/package/madwifi/patches/426-header_len.patch
new file mode 100644 (file)
index 0000000..acfbc18
--- /dev/null
@@ -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;