diff mbox

patch to remove CONFIG_HS20 and CONFIG_AP from android.config

Message ID CAJJuffy8juvgiDLGkryQrVH-WjEdnC1+NWCgXQYkb33xzbKCgA@mail.gmail.com
State Rejected
Headers show

Commit Message

Lucas Feb. 20, 2017, 12:12 a.m. UTC
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@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@invapid.org>
---
 wpa_supplicant/android.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jouni Malinen Feb. 20, 2017, 8:42 a.m. UTC | #1
On Sun, Feb 19, 2017 at 04:12:04PM -0800, Lucas wrote:
> I compiled in AOSP and tested both wifi and hotspot functionality to
> ensure they both worked.

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

Huh? These are both needed for functionality used on Android with
wpa_supplicant.. So no, I won't be applying this.
diff mbox

Patch

From 98c1e85da7099e6f80a6645ddf044ed865d284f2 Mon Sep 17 00:00:00 2001
From: Lucas Duffey <lucas.duffey@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@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