huge madwifi update - use a madwifi-ng-refcount snapshot as base, includes lots of...
[openwrt/openwrt.git] / package / madwifi / patches / 308-mlme_fix.patch
1 diff -urN madwifi-ng-refcount-r2313-20070505.old/net80211/ieee80211_wireless.c madwifi-ng-refcount-r2313-20070505.dev/net80211/ieee80211_wireless.c
2 --- madwifi-ng-refcount-r2313-20070505.old/net80211/ieee80211_wireless.c 2007-05-13 18:17:56.109039168 +0200
3 +++ madwifi-ng-refcount-r2313-20070505.dev/net80211/ieee80211_wireless.c 2007-05-13 18:17:56.795934744 +0200
4 @@ -3359,7 +3359,7 @@
5 if (ieee80211_sta_join(vap, lookup.se))
6 while (!vap->iv_nsdone)
7 IEEE80211_RESCHEDULE();
8 - if (vap->iv_nsparams.result)
9 + if (!vap->iv_nsparams.result)
10 return 0;
11 }
12 }