[Ndiswrapper-general] [PATCH] 1.0rc4: allow association with KEY_MGMT_802_1X_NO_WPA
Status: Beta
Brought to you by:
pgiri
From: Romano G. <ro...@up...> - 2005-01-27 17:58:30
|
On Wed, Jan 19, 2005 at 04:42:16PM -0500, Giridhar Pemmasani wrote: > > I can probably make a patch to ndiswrapper to not use the key index > that wpa_supplicant gives. That may work. I need more details. Login > to #ndiswrapper IRC. I am there sometimes. > Giri, I tried the last 1.0rc4 release. I have a problem: the wpa_supplicant now cannot associate... it worked with 1.0rc2 with the patch from Jouni that I posted recently. Facts: with 1.0rc4 "vanilla" it fails to associate (it gives a time out); if I apply the patch below, all works as normal(*) Hope this helps somebody! Romano (*) which means that autentication works, and the my CISCO AP refuse to let my packet pass. ;-( --- driver/iw_ndis.c.orig 2005-01-27 18:49:06.000000000 +0100 +++ driver/iw_ndis.c 2005-01-27 18:50:46.000000000 +0100 @@ -1467,7 +1467,8 @@ auth_mode = Ndis802_11AuthModeWPA2; } else { priv_mode = Ndis802_11PrivFilter8021xWEP; - if (wpa_assoc_info.key_mgmt_suite == KEY_MGMT_WPA_NONE) + if (wpa_assoc_info.key_mgmt_suite == KEY_MGMT_WPA_NONE || + wpa_assoc_info.key_mgmt_suite == KEY_MGMT_802_1X_NO_WPA) auth_mode = Ndis802_11AuthModeWPANone; else if (wpa_assoc_info.key_mgmt_suite == KEY_MGMT_PSK) auth_mode = Ndis802_11AuthModeWPAPSK; -- Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain) Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569 |