[PATCH 2/2] hwsim tests: allow wext in configuration

Johannes Berg johannes at sipsolutions.net
Fri Nov 28 03:32:33 EST 2014


From: Johannes Berg <johannes.berg at intel.com>

Both the wpa_supplicant and kernel configuration need wext to
run the wext testcase, enable those in the default/example
configurations.

Change-Id: Ica3b717746f7d2ce1ab21ffef1e6b038f03deae9
Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 tests/hwsim/example-wpa_supplicant.config | 2 ++
 tests/hwsim/vm/kernel-config              | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/hwsim/example-wpa_supplicant.config b/tests/hwsim/example-wpa_supplicant.config
index 165d8b7476ab..0dbb80e56525 100644
--- a/tests/hwsim/example-wpa_supplicant.config
+++ b/tests/hwsim/example-wpa_supplicant.config
@@ -69,6 +69,8 @@ CONFIG_WPS_NFC=y
 CONFIG_WPS_ER=y
 #CONFIG_WPS_REG_DISABLE_OPEN=y
 
+CONFIG_DRIVER_WEXT=y
+
 CONFIG_DRIVER_NL80211=y
 CFLAGS += -I/usr/include/libnl3
 CONFIG_LIBNL32=y
diff --git a/tests/hwsim/vm/kernel-config b/tests/hwsim/vm/kernel-config
index 6f5341d06246..487c4fd0a3e9 100644
--- a/tests/hwsim/vm/kernel-config
+++ b/tests/hwsim/vm/kernel-config
@@ -597,7 +597,7 @@ CONFIG_CFG80211_DEVELOPER_WARNINGS=y
 CONFIG_CFG80211_DEFAULT_PS=y
 CONFIG_CFG80211_DEBUGFS=y
 # CONFIG_CFG80211_INTERNAL_REGDB is not set
-# CONFIG_CFG80211_WEXT is not set
+CONFIG_CFG80211_WEXT=y
 # CONFIG_LIB80211 is not set
 CONFIG_MAC80211=y
 CONFIG_MAC80211_HAS_RC=y
-- 
2.1.1



More information about the HostAP mailing list