aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/android.config
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2017-11-30 22:46:26 (GMT)
committerJouni Malinen <j@w1.fi>2017-12-09 15:47:42 (GMT)
commitb65353a767522a5d7215a6f55ec36b96a94aee28 (patch)
tree739cb9e7736dbf0b604b54c7f9ab6f55bfef59f9 /hostapd/android.config
parentff28df739a09ed018591d407d8b5385c664037c2 (diff)
downloadhostap-b65353a767522a5d7215a6f55ec36b96a94aee28.zip
hostap-b65353a767522a5d7215a6f55ec36b96a94aee28.tar.gz
hostap-b65353a767522a5d7215a6f55ec36b96a94aee28.tar.bz2
Android: Set CONFIG_NO_RANDOM_POOL=y
Wpa_supplicant's random pool is not necessary on Android. Randomness is already provided by the entropymixer service which ensures sufficient entropy is maintained across reboots. Commit b410eb1913 'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before either wpa_supplicant or hostapd are run. Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Diffstat (limited to 'hostapd/android.config')
-rw-r--r--hostapd/android.config7
1 files changed, 7 insertions, 0 deletions
diff --git a/hostapd/android.config b/hostapd/android.config
index b293828..08d21f0 100644
--- a/hostapd/android.config
+++ b/hostapd/android.config
@@ -203,3 +203,10 @@ CONFIG_WPA_CLI_EDIT=y
# Opportunistic Wireless Encryption (OWE)
# Experimental implementation of draft-harkins-owe-07.txt
#CONFIG_OWE=y
+
+# Wpa_supplicant's random pool is not necessary on Android. Randomness is
+# already provided by the entropymixer service which ensures sufficient
+# entropy is maintained across reboots. Commit b410eb1913 'Initialize
+# /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before
+# either wpa_supplicant or hostapd are run.
+CONFIG_NO_RANDOM_POOL=y