diff options
Diffstat (limited to 'package/madwifi/patches/364-memory_alloc.patch')
-rw-r--r-- | package/madwifi/patches/364-memory_alloc.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/package/madwifi/patches/364-memory_alloc.patch b/package/madwifi/patches/364-memory_alloc.patch deleted file mode 100644 index 53fbc77091..0000000000 --- a/package/madwifi/patches/364-memory_alloc.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/ath/if_ath.c -+++ b/ath/if_ath.c -@@ -539,8 +539,8 @@ ath_attach(u_int16_t devid, struct net_d - - /* 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 |