ff60dbdb37ecc755f602e0db6c86552b9683ec11
[openwrt.git] / package / madwifi / patches-testing / 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
This page took 0.04029 seconds and 3 git commands to generate.