add some madwifi fixes and enhancements by Sven-Ola, refresh patches

SVN-Revision: 11848
This commit is contained in:
Felix Fietkau
2008-07-16 16:30:03 +00:00
parent 7ac73f8362
commit 0fb8aa363f
29 changed files with 2739 additions and 77 deletions

View File

@@ -0,0 +1,13 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -539,8 +539,8 @@
/* Allocate space for dynamically determined maximum VAP count */
sc->sc_bslot =
- kmalloc(ath_maxvaps * sizeof(struct ieee80211vap), GFP_KERNEL);
- memset(sc->sc_bslot, 0, ath_maxvaps * sizeof(struct ieee80211vap));
+ kmalloc(ath_maxvaps * sizeof(struct ieee80211vap*), GFP_KERNEL);
+ memset(sc->sc_bslot, 0, ath_maxvaps * sizeof(struct ieee80211vap*));
/*
* Cache line size is used to size and align various