From 3dc59299b8d0655a2ce644293312b1f3995c8419 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Thu, 30 Nov 2017 13:00:27 -0800 Subject: shinano-common: wpa_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 Taimen Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9 Signed-off-by: Nikhil Punathil --- rootdir/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 7d53037..d972b5f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -440,7 +440,7 @@ service wpa_supplicant /system/vendor/bin/hw/wpa_supplicant \ -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \ -I/system/etc/wifi/p2p_supplicant_overlay.conf \ -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 + -g@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