On Thu, Dec 04, 2008 at 10:22:25AM -0500, John W. Linville wrote: > On Thu, Dec 04, 2008 at 08:38:13PM +0530, Senthil Balasubramanian wrote: > > -#define WLAN_AUTH_LEAP 2 > > +#define WLAN_AUTH_LEAP 128 > What is the regression? What problem does this cause? The current code fails to authenticate when the AP (most likely Cisco AP) is configured for "Network EAP" mode. The old code (before the cleanup) allowed the authentication to be completed successfully. > AFAICT this value is only used internally, so it shouldn't matter > what the actual value is. Nope. WLAN_AUTH_* are the values used in Authentication frames (Authentication Algorithm field). See ieee80211_send_auth() in net/mac80211/mlme.c. The ifsta->auth_alg must have a value that matches with the algorithm identifier in the frame and in the case of LEAP ("Network EAP"), this value is 128, not 2. -- Jouni Malinen PGP id EFC895FA -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html