patch to remove CONFIG_HS20 and CONFIG_AP from android.config

Lucas lucas.duffey at
Sun Feb 19 16:12:04 PST 2017

My patch is both attached and pasted below the break

I compiled in AOSP and tested both wifi and hotspot functionality to
ensure they both worked.

>From 98c1e85da7099e6f80a6645ddf044ed865d284f2 Mon Sep 17 00:00:00 2001
From: Lucas Duffey <lucas.duffey at>
Date: Sun, 19 Feb 2017 15:57:52 -0800
Subject: [PATCH] Removed CONFIG_AP and CONFIG_HS20 from android.config for

hostapd provides access point hosting capability, so it's redundant to
have the code in wpa_supplicant as well.

Signed-off-by: Lucas Duffey <lucas.duffey at>
 wpa_supplicant/android.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wpa_supplicant/android.config b/wpa_supplicant/android.config
index 4de7e9c..3a0d4a2 100644
--- a/wpa_supplicant/android.config
+++ b/wpa_supplicant/android.config
@@ -461,7 +461,7 @@ CONFIG_WNM=y

 # Hotspot 2.0

 # Enable interface matching in wpa_supplicant
@@ -474,7 +474,7 @@ CONFIG_NO_ROAMING=y
 # should be noted that this is mainly aimed at simple cases like
 # WPA2-Personal while more complex configurations like WPA2-Enterprise with an
 # external RADIUS server can be supported with hostapd.

 # P2P (Wi-Fi Direct)
 # This can be used to enable P2P support in wpa_supplicant. See README-P2P for
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Removed-CONFIG_AP-and-CONFIG_HS20-from-android.confi.patch
Type: text/x-patch
Size: 1248 bytes
Desc: not available
URL: <>

More information about the Hostap mailing list