Package: wpasupplicant
Version: 0.3.2-1
Severity: normal
Tags: patch
wpa_supplicant is not able to associate with an open access point. It
just repeats this message
Trying to associate with xx:xx:xx:xx:xx:xx (SSID='netname' freq=2437
MHz)
Authentication with 00:00:00:00:00:00 timed out.
With the attached patch that i found here
http://lists.shmoo.com/pipermail/hostap/2005-January/009022.html
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (950, 'testing'), (900, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages wpasupplicant depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libssl0.9.7 0.9.7e-2 SSL shared libraries
-- no debconf information
Index: driver_madwifi.c
===================================================================
RCS file: /cvs/hostap/wpa_supplicant/driver_madwifi.c,v
retrieving revision 1.5
diff -u -r1.5 driver_madwifi.c
--- driver_madwifi.c 30 Nov 2004 04:17:01 -0000 1.5
+++ driver_madwifi.c 7 Jan 2005 09:31:57 -0000
@@ -322,6 +322,10 @@
* needed to disambiguate an AP that broadcasts multiple
* ssid's but uses the same bssid.
*/
+
+ if ((params->key_mgmt_suite == KEY_MGMT_NONE) &&
(wpa_driver_madwifi_set_wpa(drv, 0) < 0))
+ ret = -1;
+
/* XXX error handling is wrong but unclear what to do... */
if (wpa_driver_madwifi_set_wpa_ie(drv, params->wpa_ie,
params->wpa_ie_len) < 0)