diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2018-01-24 08:57:13 -0800 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-08-28 23:16:10 +0200 |
commit | 7eb73543e7e4ce704375ef6e3a6b5e6700af24c4 (patch) | |
tree | 01da79a5d0a896e5cb4db9fcc121ae3155b9924e | |
parent | 0cd438dc0fd204f17f5cfb590f2d4759b66a6101 (diff) |
msm8996-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.
Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
-rw-r--r-- | rootdir/etc/init.qcom.rc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 532c150..be4a86b 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -104,6 +104,9 @@ on post-fs-data mkdir /data/vendor/ramdump/bluetooth 0770 bluetooth bluetooth # Create the directories used by the Wireless subsystem + mkdir /data/vendor/wifi 0770 wifi wifi + mkdir /data/vendor/wifi/wpa 0770 wifi wifi + mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi mkdir /data/misc/wifi 0770 wifi wifi mkdir /data/misc/wifi/sockets 0770 wifi wifi mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi @@ -433,7 +436,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -I/vendor/etc/wifi/p2p_supplicant_overlay.conf -N \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/vendor/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \ + -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 \ -g@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT |