patch to remove CONFIG_HS20 and CONFIG_AP from android.config
Lucas
lucas.duffey at invapid.org
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 invapid.org>
Date: Sun, 19 Feb 2017 15:57:52 -0800
Subject: [PATCH] Removed CONFIG_AP and CONFIG_HS20 from android.config for
wpa_supplicant.
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 invapid.org>
---
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
CONFIG_INTERWORKING=y
# Hotspot 2.0
-CONFIG_HS20=y
+#CONFIG_HS20=y
# Enable interface matching in wpa_supplicant
#CONFIG_MATCH_IFACE=y
@@ -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.
-CONFIG_AP=y
+#CONFIG_AP=y
# P2P (Wi-Fi Direct)
# This can be used to enable P2P support in wpa_supplicant. See README-P2P for
--
2.7.4
-------------- 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: <http://lists.infradead.org/pipermail/hostap/attachments/20170219/9300b9ab/attachment.bin>
More information about the Hostap
mailing list