X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bcb54b392476cc18216aa9def60424e507d5cde1..f251f740878af188b1f27d19ec921efa6c577349:/package/madwifi/patches/331-memory_alloc.patch diff --git a/package/madwifi/patches/331-memory_alloc.patch b/package/madwifi/patches/331-memory_alloc.patch index 4dc047112..6b01d79c0 100644 --- a/package/madwifi/patches/331-memory_alloc.patch +++ b/package/madwifi/patches/331-memory_alloc.patch @@ -1,8 +1,6 @@ -Index: madwifi-trunk-r3314/ath/if_ath.c -=================================================================== ---- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-02-20 18:10:52.499506168 +0100 -+++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-20 18:10:52.731519391 +0100 -@@ -3315,17 +3315,18 @@ +--- a/ath/if_ath.c ++++ b/ath/if_ath.c +@@ -3320,17 +3320,18 @@ ath_hardstart(struct sk_buff *skb, struc * without affecting any other bridge ports. */ if (skb_cloned(skb)) { /* Remember the original SKB so we can free up our references */ @@ -27,13 +25,7 @@ Index: madwifi-trunk-r3314/ath/if_ath.c eh = (struct ether_header *)skb->data; #ifdef ATH_SUPERG_FF -@@ -3591,11 +3592,13 @@ - */ - error = ath_tx_start(dev, SKB_CB(skb)->ni, bf, skb, 0); - if (error) -- goto bad; -+ return error; - +@@ -3601,6 +3602,8 @@ ath_mgtstart(struct ieee80211com *ic, st sc->sc_stats.ast_tx_mgmt++; return 0; bad: