From f19f398d02ec11adb6e6098e7dc8689b35a1fe49 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Thu, 30 Nov 2017 13:00:27 -0800 Subject: [PATCH] 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 Taimen Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9 --- ramdisk/init.mt8127.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ramdisk/init.mt8127.rc b/ramdisk/init.mt8127.rc index fb8e771..84d9642 100644 --- a/ramdisk/init.mt8127.rc +++ b/ramdisk/init.mt8127.rc @@ -448,7 +448,7 @@ on property:wlan.driver.status=unloaded service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \ - -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -dd \ + -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -dd \ -I/system/etc/wifi/p2p_supplicant_overlay.conf \ -O/data/vendor/wifi/wpa/sockets \ -g@android:wpa_wlan0 -- 2.20.1