2006-12-04 Dan Williams <dcbw@redhat.com>

* src/nm-device-802-11-wireless.c
		- (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
			IE handling blocks that cause mis-parsing of the IE


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2164 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2006-12-04 20:42:02 +00:00
parent 9fa82209e7
commit a4ea27d2ca
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
- (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
IE handling blocks that cause mis-parsing of the IE
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c

View File

@@ -2228,7 +2228,7 @@ supplicant_iface_scanned_ap_cb (NMSupplicantInterface * iface,
HANDLE_DICT_ARRAY_ITEM("wpaie", DBUS_TYPE_BYTE,
{
guint8 * ie = (guint8 *) &entry.bytearray_value;
guint8 * ie = (guint8 *) entry.bytearray_value;
if (entry.array_len <= 0 || entry.array_len > WPA_MAX_IE_LEN)
goto next;
nm_ap_add_capabilities_from_ie (ap, ie, entry.array_len);
@@ -2236,7 +2236,7 @@ supplicant_iface_scanned_ap_cb (NMSupplicantInterface * iface,
HANDLE_DICT_ARRAY_ITEM("rsnie", DBUS_TYPE_BYTE,
{
guint8 * ie = (guint8 *) &entry.bytearray_value;
guint8 * ie = (guint8 *) entry.bytearray_value;
if (entry.array_len <= 0 || entry.array_len > WPA_MAX_IE_LEN)
goto next;
nm_ap_add_capabilities_from_ie (ap, ie, entry.array_len);