skip - could not parse WPA/RSN IE

Jouni Malinen jkmaline at cc.hut.fi
Thu Oct 7 01:31:35 EDT 2004


On Wed, Oct 06, 2004 at 10:30:27PM -0700, Jouni Malinen wrote:

> wpa_supplicant did not like something in the WPA IE. Could you please
> send 'iwlist wlan0 scan' output? Additionally, it could be useful to
> test the attached patch which will make wpa_supplicant print out bit
> more debug information when this messages is triggered. You can apply it
> to 0.2.5 version by running
> 'patch -p0 < path_to_patch/wpa_ie_parse.patch'.

Ahem.. The attached patch here..

-- 
Jouni Malinen                                            PGP id EFC895FA
-------------- next part --------------
Index: wpa_supplicant.c
===================================================================
RCS file: /home/jm/cvsroot/hostap/wpa_supplicant/wpa_supplicant.c,v
retrieving revision 1.140.2.3
diff -u -p -r1.140.2.3 wpa_supplicant.c
--- wpa_supplicant.c	23 Sep 2004 03:38:49 -0000	1.140.2.3
+++ wpa_supplicant.c	7 Oct 2004 05:22:57 -0000
@@ -1195,6 +1195,10 @@ wpa_supplicant_select_bss(struct wpa_sup
 						bss->wpa_ie_len, &ie) == 0))) {
 				wpa_printf(MSG_DEBUG, "   skip - "
 					   "could not parse WPA/RSN IE");
+				wpa_hexdump(MSG_DEBUG, "WPA IE", bss->wpa_ie,
+					    bss->wpa_ie_len);
+				wpa_hexdump(MSG_DEBUG, "RSN IE", bss->rsn_ie,
+					    bss->rsn_ie_len);
 				continue;
 			}
 			if (!(ie.proto & ssid->proto)) {


More information about the HostAP mailing list