madwifi: fix sequence number check on incoming retransmit checks
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 104-autocreate_none.patch
index d520b133c11a82e2a1b70975875ca2718e8ec0fe..0979179641687dbdff3d17991076033c9ce00921 100644 (file)
@@ -1,10 +1,9 @@
-diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c
---- madwifi-0.9.2.old/ath/if_ath.c     2006-08-29 17:49:50.000000000 +0200
-+++ madwifi-0.9.2.dev/ath/if_ath.c     2006-08-29 17:49:50.000000000 +0200
-@@ -387,7 +387,7 @@
-       struct ath_hal *ah;
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
+@@ -516,7 +516,7 @@
        HAL_STATUS status;
-       int error = 0, i;
+       int error = 0;
+       unsigned int i;
 -      int autocreatemode = IEEE80211_M_STA;
 +      int autocreatemode = -1;
        u_int8_t csz;