3 @@ -539,8 +539,8 @@ ath_attach(u_int16_t devid, struct net_d
5 /* Allocate space for dynamically determined maximum VAP count */
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*));
13 * Cache line size is used to size and align various