msm8937-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
This commit is contained in:
Jeff Vander Stoep 2018-01-24 08:57:13 -08:00 committed by Darshan Manjrekar
parent 2582062890
commit 1bbad63b43

View file

@ -175,6 +175,8 @@ on post-fs-data
# 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
@ -356,7 +358,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 -dd \
-O/data/vendor/wifi/sockets -puse_p2p_group_interface=1 -dd \
-g@android:wpa_wlan0
class main
socket wpa_wlan0 dgram 660 wifi wifi