summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2017-12-01 06:41:22 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-12-01 06:41:22 +0000
commit21016b52af65e7e510d959c6151d1e5d4e128476 (patch)
treeb2fa8a44faf1fb36148c93cfeba2313dfca6257f
parent2896fd9861a1b778a12f699ad80c0b1740a03c14 (diff)
parentbf2a846218cc94705f8f42683d27f0bf96a74b88 (diff)
downloadhikey-21016b52af65e7e510d959c6151d1e5d4e128476.tar.gz
wifi_supplicant: deprecate entropy.bin
am: bf2a846218 Change-Id: I6e07dd08ab78e60be1641af6539b6c8f409577a4
-rw-r--r--init.common.rc2
-rw-r--r--sepolicy/hostapd.te1
2 files changed, 1 insertions, 2 deletions
diff --git a/init.common.rc b/init.common.rc
index 0481b641..9feaaccc 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -93,7 +93,7 @@ service uim /vendor/bin/uim
service wpa_supplicant /system/vendor/bin/hw/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
- -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
+ -g@android:wpa_wlan0
socket wpa_wlan0 dgram 660 wifi wifi
class main
disabled
diff --git a/sepolicy/hostapd.te b/sepolicy/hostapd.te
index b7069692..86b985ae 100644
--- a/sepolicy/hostapd.te
+++ b/sepolicy/hostapd.te
@@ -2,7 +2,6 @@
# hostapd no longer directly accesses /data outside /data/vendor.
typeattribute hostapd data_between_core_and_vendor_violators;
# hostapd can read and write WiFi related data and configuration.
-# For example, the entropy file is periodically updated.
allow hostapd wifi_data_file:file rw_file_perms;
r_dir_file(hostapd, wifi_data_file)