bump ath9k package version number, too
[openwrt.git] / package / madwifi / patches / 364-memory_alloc.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -539,8 +539,8 @@
4
5 /* Allocate space for dynamically determined maximum VAP count */
6 sc->sc_bslot =
7 - kmalloc(ath_maxvaps * sizeof(struct ieee80211vap), GFP_KERNEL);
8 - memset(sc->sc_bslot, 0, ath_maxvaps * sizeof(struct ieee80211vap));
9 + kmalloc(ath_maxvaps * sizeof(struct ieee80211vap*), GFP_KERNEL);
10 + memset(sc->sc_bslot, 0, ath_maxvaps * sizeof(struct ieee80211vap*));
11
12 /*
13 * Cache line size is used to size and align various
This page took 0.042931 seconds and 5 git commands to generate.