summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2017-11-30 12:57:55 -0800
committerIsaac Chen <isaacchen@isaacchen.cn>2019-07-29 23:23:35 +0800
commit816a4cd7c257c32131923380fc19740f92baca2d (patch)
tree103bec3b447b21888ca900f9c42d6c9099019a41
parent0020b0fa1e6803f7fe253b2c5d166f0d3710d2ad (diff)
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)
-rwxr-xr-xrootdir/etc/init.qcom.rc2
1 files changed, 1 insertions, 1 deletions
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