aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/308-mlme_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches/308-mlme_fix.patch')
-rw-r--r--package/madwifi/patches/308-mlme_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/308-mlme_fix.patch b/package/madwifi/patches/308-mlme_fix.patch
new file mode 100644
index 0000000000..57776bb59b
--- /dev/null
+++ b/package/madwifi/patches/308-mlme_fix.patch
@@ -0,0 +1,12 @@
+diff -urN madwifi-ng-refcount-r2313-20070505.old/net80211/ieee80211_wireless.c madwifi-ng-refcount-r2313-20070505.dev/net80211/ieee80211_wireless.c
+--- madwifi-ng-refcount-r2313-20070505.old/net80211/ieee80211_wireless.c 2007-05-13 18:17:56.109039168 +0200
++++ madwifi-ng-refcount-r2313-20070505.dev/net80211/ieee80211_wireless.c 2007-05-13 18:17:56.795934744 +0200
+@@ -3359,7 +3359,7 @@
+ if (ieee80211_sta_join(vap, lookup.se))
+ while (!vap->iv_nsdone)
+ IEEE80211_RESCHEDULE();
+- if (vap->iv_nsparams.result)
++ if (!vap->iv_nsparams.result)
+ return 0;
+ }
+ }