madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds...
[openwrt/openwrt.git] / package / madwifi / patches / 331-memory_alloc.patch
index eae4a553688fe65137b5761eaae299a4b062d43e..6b01d79c0d451650f8fec2c30d8303aeae2259c5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/ath/if_ath.c
 +++ b/ath/if_ath.c
-@@ -3318,17 +3318,18 @@
+@@ -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 */
@@ -25,7 +25,7 @@
        eh = (struct ether_header *)skb->data;
  
  #ifdef ATH_SUPERG_FF
-@@ -3599,6 +3600,8 @@
+@@ -3601,6 +3602,8 @@ ath_mgtstart(struct ieee80211com *ic, st
        sc->sc_stats.ast_tx_mgmt++;
        return 0;
  bad: