diff -rup wpa_supplicant-0.6.0/src/utils/common.h wpa_supplicant-0.6.0a/src/utils/common.h
--- wpa_supplicant-0.6.0/src/utils/common.h 2007-05-28 19:26:55.000000000 +0200
+++ wpa_supplicant-0.6.0a/src/utils/common.h 2007-07-09 18:28:04.827866733 +0200
@@ -381,15 +381,15 @@ typedef u16 __bitwise be16;
typedef u16 __bitwise le16;
typedef u32 __bitwise be32;
typedef u32 __bitwise le32;
-typedef u64 __bitwise be64;
-typedef u64 __bitwise le64;
+//typedef u64 __bitwise be64;//
+//typedef u64 __bitwise le64;//
typedef u16 __bitwise __be16;
typedef u32 __bitwise __be32;
-typedef u64 __bitwise __be64;
+//typedef u64 __bitwise __be64;//
typedef u16 __bitwise __le16;
typedef u32 __bitwise __le32;
-typedef u64 __bitwise __le64;
+//typedef u64 __bitwise __le64;//
#define hostapd_get_rand os_get_random
diff -rup wpa_supplicant-0.6.0/wpa_supplicant/.config wpa_supplicant-0.6.0a/wpa_supplicant/.config
--- wpa_supplicant-0.6.0/wpa_supplicant/.config 2007-07-10 00:05:12.998043878 +0200
+++ wpa_supplicant-0.6.0a/wpa_supplicant/.config 2007-07-09 18:21:20.262585703 +0200
@@ -47,20 +47,20 @@ CONFIG_DRIVER_HOSTAP=y
#CONFIG_DRIVER_HERMES=y
# Change include directories to match with the local setup
#CFLAGS += -I../../hcf -I../../include -I../../include/hcf
-#CFLAGS += -I../../include/wireless
+#FLAGS += -I../../include/wireless
# Driver interface for madwifi driver
#CONFIG_DRIVER_MADWIFI=y
# Change include directories to match with the local setup
-#CFLAGS += -I../madwifi/wpa
+#CFLAGS += -I/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work
# Driver interface for Prism54 driver
# (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
# for developers only)
-#CONFIG_DRIVER_PRISM54=y
+CONFIG_DRIVER_PRISM54=y
# Driver interface for ndiswrapper
-#CONFIG_DRIVER_NDISWRAPPER=y
+CONFIG_DRIVER_NDISWRAPPER=y
# Driver interface for Atmel driver
CONFIG_DRIVER_ATMEL=y
@@ -71,10 +71,10 @@ CONFIG_DRIVER_ATMEL=y
#CFLAGS += -I/opt/WRT54GS/release/src/include
# Driver interface for Intel ipw2100/2200 driver
-#CONFIG_DRIVER_IPW=y
+CONFIG_DRIVER_IPW=y
# Driver interface for Ralink driver
-#CONFIG_DRIVER_RALINK=y
+CONFIG_DRIVER_RALINK=y
# Driver interface for generic Linux wireless extensions
CONFIG_DRIVER_WEXT=y
@@ -315,13 +315,13 @@ CONFIG_PEERKEY=y
# Include client MLME (management frame processing).
# This can be used to move MLME processing of Devicescape IEEE 802.11 stack
# into user space.
-#CONFIG_CLIENT_MLME=y
+CONFIG_CLIENT_MLME=y
# Currently, driver_devicescape.c build requires some additional parameters
# to be able to include some of the kernel header files. Following lines can
# be used to set these (WIRELESS_DEV must point to the root directory of the
# wireless-dev.git tree).
-#WIRELESS_DEV=/usr/src/wireless-dev
-#CFLAGS += -I$(WIRELESS_DEV)/net/mac80211
+WIRELESS_DEV=/usr/src/linux
+CFLAGS += -I$(WIRELESS_DEV)/net/mac80211
# IEEE 802.11r/D4.1 (Fast BSS Transition)
# This enables an experimental implementation of a draft version of