From f1b0de09d96dafd229c615e8114ca83d1af3b380 Mon Sep 17 00:00:00 2001
From: Masashi Honma <honma@ictec.co.jp>
Date: Mon, 14 Sep 2009 16:50:53 +0300
Subject: [PATCH] WPS: Fix CONFIG_WPS=y compilation of wpa_supplicant

The wpa_supplicant compilation failed with CONFIG_WPS=y option
if CONFIG_CLIENT_MLME and CONFIG_IEEE80211R are not used.
---
 wpa_supplicant/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index e74eed8fb..74b268993 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -416,6 +416,7 @@ NEED_DH_GROUPS=y
 NEED_SHA256=y
 NEED_BASE64=y
 NEED_CRYPTO=y
+NEED_80211_COMMON=y
 
 ifdef CONFIG_WPS_UFD
 CFLAGS += -DCONFIG_WPS_UFD