From 816a4cd7c257c32131923380fc19740f92baca2d Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Thu, 30 Nov 2017 12:57:55 -0800 Subject: wayne-common: wifi_supplicant: Deprecate entropy.bin 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. Bug: 34980020 Test: Use wifi and wifi tethering on 8996 targets Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186 (cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514) --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e54d645..4c9cd3f 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -713,7 +713,7 @@ service amp_unload /system/vendor/bin/amploader -u service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 + -eg@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT # user wifi -- cgit v1.2.3