[PATCH] Fix IEEE 802.11r/w compilation error

Masashi Honma honma at ictec.co.jp
Mon Oct 12 22:01:19 EDT 2009


Hello.

The hostapd/wpa_supplicant compilation failed with CONFIG_IEEE80211R=y
or CONFIG_IEEE80211W=y option if CONFIG_EAP_PSK and CONFIG_EAP_GPSK are
not used.

This patch solves this issue.


diff --git a/hostapd/Makefile b/hostapd/Makefile
old mode 100644
new mode 100755
index 22d298e..6529153
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -113,12 +113,14 @@ endif
 ifdef CONFIG_IEEE80211W
 CFLAGS += -DCONFIG_IEEE80211W
 NEED_SHA256=y
+NEED_AES_OMAC1=y
 endif
 
 ifdef CONFIG_IEEE80211R
 CFLAGS += -DCONFIG_IEEE80211R
 OBJS += wpa_ft.o
 NEED_SHA256=y
+NEED_AES_OMAC1=y
 NEED_AES_UNWRAP=y
 endif
 
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 4b0ed2d..496b03c 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -115,6 +115,7 @@ endif
 ifdef CONFIG_IEEE80211W
 CFLAGS += -DCONFIG_IEEE80211W
 NEED_SHA256=y
+NEED_AES_OMAC1=y
 endif
 
 ifdef CONFIG_IEEE80211R
@@ -122,6 +123,7 @@ CFLAGS += -DCONFIG_IEEE80211R
 OBJS += ../src/rsn_supp/wpa_ft.o
 NEED_80211_COMMON=y
 NEED_SHA256=y
+NEED_AES_OMAC1=y
 endif
 
 ifdef CONFIG_PEERKEY


Regards,
Masashi Honma.


More information about the HostAP mailing list