From 10ff5d0562751b6b31d7505362498898a6d5d6a5 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Thu, 30 Nov 2017 13:00:27 -0800 Subject: [PATCH] universal7580: 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/etc/init.wifi.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ramdisk/etc/init.wifi.rc b/ramdisk/etc/init.wifi.rc index 9ef3d70..64aaf51 100644 --- a/ramdisk/etc/init.wifi.rc +++ b/ramdisk/etc/init.wifi.rc @@ -53,7 +53,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -puse_p2p_group_interface=1p2p_device=1 \ -m/data/misc/wifi/p2p_supplicant.conf \ -O/data/vendor/wifi/wpa/sockets \ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 + -g@android:wpa_wlan0 class main socket wpa_wlan0 dgram 660 wifi wifi disabled -- 2.20.1