fix hal module load msg
[openwrt/svn-archive/archive.git] / package / madwifi / patches-r3776 / 328-memory_alloc.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -504,7 +504,7 @@
4
5 /* Allocate space for dynamically determined maximum VAP count */
6 sc->sc_bslot =
7 - kzalloc(ath_maxvaps * sizeof(struct ieee80211vap), GFP_KERNEL);
8 + kzalloc(ath_maxvaps * sizeof(struct ieee80211vap *), GFP_KERNEL);
9
10 /*
11 * Cache line size is used to size and align various