diff options
| author | Jeff Vander Stoep <jeffv@google.com> | 2018-10-09 14:10:26 +0200 |
|---|---|---|
| committer | firebird11 <hbgassel@gmail.com> | 2019-01-12 14:06:39 +0100 |
| commit | 0dfb5573798c3ffc33074fb5a22818e970a03fb0 (patch) | |
| tree | bf1ee9947a18ac37608f1b728af63ee5fadb6ff0 | |
| parent | bd53fce5539bfa6964255772c28bd5613b44daab (diff) | |
g3-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.
Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I8f98aac4632c8adb14190897fa07773215f11ec4
| -rw-r--r-- | rootdir/etc/init.g3.rc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/rootdir/etc/init.g3.rc b/rootdir/etc/init.g3.rc index c4f37b9..e3427de 100644 --- a/rootdir/etc/init.g3.rc +++ b/rootdir/etc/init.g3.rc @@ -258,11 +258,12 @@ on post-fs-data mkdir /data/misc/bluetooth 0770 bluetooth bluetooth # Create the directories used by the Wireless subsystem - mkdir /data/misc/wifi 0770 wifi wifi - mkdir /data/misc/wifi/sockets 0770 wifi wifi - mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi - mkdir /data/misc/dhcp 0770 dhcp dhcp - mkdir /data/misc/fm 0770 system system + 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/vendor/wifi/wpa/wpa_supplicant 0770 wifi wifi + mkdir /data/vendor/dhcp 0770 dhcp dhcp + mkdir /data/vendor/fm 0770 system system # CONFIG_LGE_WLAN_PATCH # to observe dnsmasq.leases file for dhcp information of soft ap. @@ -425,7 +426,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -I/system/etc/wifi/p2p_supplicant_overlay.conf -N \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/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 interface android.hardware.wifi.supplicant@1.0::ISupplicant default interface android.hardware.wifi.supplicant@1.1::ISupplicant default |
