Don't create /data/hostapd

This directory isn't actually used, and vendor_init shouldn't be
creating things in /data

Bug: 140259336
Test: Set up a hotspot, check logs for issues.
Change-Id: I923be96d69d783476cfb65acdeae063e1b4d4f87
This commit is contained in:
Paul Crowley
2019-08-30 15:10:02 -07:00
parent cfe911b5fa
commit c51d71fcdd

View File

@@ -299,9 +299,6 @@ on zygote-start
chmod 0771 /persist
chown system system /persist/WCNSS_qcom_wlan_nv.bin
# Create directory for hostapd
mkdir /data/hostapd 0770 system wifi
# Trigger WLAN driver load
write /sys/kernel/boot_wlan/boot_wlan 1