diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-31 04:09:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-31 04:09:54 +0000 |
commit | 35bf3bbf34d829ad6b0c3e579b5f015e0f5634d6 (patch) | |
tree | ae93ee0c53be3ebca6d754d337bb62e131b80bae /package/madwifi/patches/320-no_kzalloc.patch | |
parent | f6f798feeb91735bb7e59e542629abada01fd229 (diff) | |
download | master-187ad058-35bf3bbf34d829ad6b0c3e579b5f015e0f5634d6.tar.gz master-187ad058-35bf3bbf34d829ad6b0c3e579b5f015e0f5634d6.tar.bz2 master-187ad058-35bf3bbf34d829ad6b0c3e579b5f015e0f5634d6.zip |
pull madwifi forward to the latest upstream version - should fix some dual radio issues; add preliminary 2.6.24 support patch (compiles, not run-time tested, thx SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10334 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/320-no_kzalloc.patch')
-rw-r--r-- | package/madwifi/patches/320-no_kzalloc.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/madwifi/patches/320-no_kzalloc.patch b/package/madwifi/patches/320-no_kzalloc.patch deleted file mode 100644 index 4c9f9868f7..0000000000 --- a/package/madwifi/patches/320-no_kzalloc.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: madwifi-dfs-r3280/ath/if_ath.c -=================================================================== ---- madwifi-dfs-r3280.orig/ath/if_ath.c 2008-01-28 17:18:52.497966105 +0100 -+++ madwifi-dfs-r3280/ath/if_ath.c 2008-01-28 17:19:06.982791546 +0100 -@@ -526,7 +526,8 @@ - - /* Allocate space for dynamically determined maximum VAP count */ - sc->sc_bslot = -- kzalloc(ath_maxvaps * sizeof(struct ieee80211vap), GFP_KERNEL); -+ 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 -Index: madwifi-dfs-r3280/ath/if_ath_radar.c -=================================================================== ---- madwifi-dfs-r3280.orig/ath/if_ath_radar.c 2008-01-28 17:14:16.411947654 +0100 -+++ madwifi-dfs-r3280/ath/if_ath_radar.c 2008-01-28 17:19:07.290809101 +0100 -@@ -1539,9 +1539,11 @@ - - ath_rp_clear(sc); - -- sc->sc_rp = (struct ath_rp *)kzalloc( -- sizeof(struct ath_rp) * -+ sc->sc_rp = (struct ath_rp *)kmalloc( -+ sizeof(struct ath_rp) * - ATH_RADAR_PULSE_NR, GFP_KERNEL); -+ memset(sc->sc_rp, 0, sizeof(struct ath_rp) * -+ ATH_RADAR_PULSE_NR); - - if (sc->sc_rp == NULL) - return; |