madwifi talking to intel 2011b - fixed, badly?

Brad Langhorst brad
Wed Aug 16 21:23:55 PDT 2006


i can make association work if i comment line 410 in events.c



  for (ssid = group; ssid; ssid = ssid->pnext) {
                         if (!ssid->disabled &&
                             (ssid->ssid_len == 0 ||
                              (bss->ssid_len == ssid->ssid_len &&
                               memcmp(bss->ssid, ssid->ssid, 
bss->ssid_len) ==
                               0)) &&
                             (!ssid->bssid_set ||
                              memcmp(bss->bssid, ssid->bssid, ETH_ALEN) 
== 0) &&
                             ((ssid->key_mgmt & WPA_KEY_MGMT_NONE) ||
                              (ssid->key_mgmt & 
WPA_KEY_MGMT_IEEE8021X_NO_WPA))
                             /*&& bss->wpa_ie_len == 0 && 
bss->rsn_ie_len == 0 *$                            && 
wpa_supplicant_match_privacy(bss, ssid) &&
                             !(bss->caps & IEEE80211_CAP_IBSS))
                         {

Why does wpa_ie_len have to be 0 if we just tried WPA mode and it didn't 
work and key_mgmt=NONE ?

Brad







More information about the Hostap mailing list