Fix the OID_802_3_MULTICAST_LIST issue.
authorRui Paulo <rpaulo@FreeBSD.org>
Fri, 26 Feb 2010 17:22:10 +0000 (17:22 +0000)
committerRui Paulo <rpaulo@FreeBSD.org>
Fri, 26 Feb 2010 17:22:10 +0000 (17:22 +0000)
contrib/wpa_supplicant/src/drivers/driver_ndis.c
usr.sbin/802_11/wpa_supplicant/ntddndis.h

index cd35bb0..a90e277 100644 (file)
@@ -2705,9 +2705,6 @@ static void wpa_driver_ndis_adapter_close(struct wpa_driver_ndis_data *drv)
 
 static int ndis_add_multicast(struct wpa_driver_ndis_data *drv)
 {
-#ifndef OID_802_3_MULTICAST_LIST
-#define OID_802_3_MULTICAST_LIST 0x01010103
-#endif
        if (ndis_set_oid(drv, OID_802_3_MULTICAST_LIST,
                         (const char *) pae_group_addr, ETH_ALEN) < 0) {
                wpa_printf(MSG_DEBUG, "NDIS: Failed to add PAE group address "
index 905abb1..feeee16 100644 (file)
@@ -27,5 +27,6 @@ typedef char * PCHAR;
 #define FALSE 0
 
 #define OID_802_3_CURRENT_ADDRESS               0x01010102
+#define        OID_802_3_MULTICAST_LIST                0x01010103
 
 #endif /* _NTDDNDIS_H_ */