madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds...
[openwrt/openwrt.git] / package / madwifi / patches / 343-txqueue_races.patch
index be6b488d47e97d037c59279e96d5a86b4921391f..4ae287e49dab087884983b52b2145edc4f52dd44 100644 (file)
@@ -1,10 +1,8 @@
 Merged from madwifi trunk r3551, r3552
 
-Index: madwifi-trunk-r3314/ath/if_ath.c
-===================================================================
---- madwifi-trunk-r3314.orig/ath/if_ath.c      2008-04-20 23:18:52.000000000 +0200
-+++ madwifi-trunk-r3314/ath/if_ath.c   2008-04-20 23:20:36.000000000 +0200
-@@ -8245,6 +8245,17 @@
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -8251,6 +8251,17 @@ ath_tx_processq(struct ath_softc *sc, st
                        goto bf_fail;
                }
  
@@ -22,11 +20,9 @@ Index: madwifi-trunk-r3314/ath/if_ath.c
                ATH_TXQ_REMOVE_HEAD(txq, bf_list);
                ATH_TXQ_UNLOCK_IRQ(txq);
  
-Index: madwifi-trunk-r3314/ath/if_athvar.h
-===================================================================
---- madwifi-trunk-r3314.orig/ath/if_athvar.h   2008-04-20 23:18:48.000000000 +0200
-+++ madwifi-trunk-r3314/ath/if_athvar.h        2008-04-20 23:21:12.000000000 +0200
-@@ -586,7 +586,8 @@
+--- a/ath/if_athvar.h
++++ b/ath/if_athvar.h
+@@ -586,7 +586,8 @@ struct ath_vap {
  } while (0)
  #define ATH_TXQ_REMOVE_HEAD(_tq, _field) do { \
        STAILQ_REMOVE_HEAD(&(_tq)->axq_q, _field); \