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
SVN-Revision: 15762
This commit is contained in:
parent
7c057371eb
commit
7f8cc3e7af
1 changed files with 12 additions and 0 deletions
12
package/madwifi/patches/426-header_len.patch
Normal file
12
package/madwifi/patches/426-header_len.patch
Normal file
|
@ -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;
|
||||
|
Loading…
Reference in a new issue