summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2018-01-24 08:57:13 -0800
committerIsaac Chen <isaacchen@isaacchen.cn>2019-07-29 23:22:58 +0800
commit62af7c0f06a197c1a98759eefe0f767f23713a3d (patch)
tree2051746891fbb1b767dcebd10f5077959c8babd7 /rootdir
parentdd0fb1f8948bc056d946520213f33df095cf4b7a (diff)
wayne-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
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/etc/init.qcom.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 357f276..bff2c59 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -267,6 +267,8 @@ on post-fs-data
mkdir /data/vendor/wifi/sockets 0770 wifi wifi
mkdir /data/vendor/wifi/hostapd 0770 wifi wifi
mkdir /data/vendor/wifi/hostapd/ctrl 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_supplicant 0770 wifi wifi
mkdir /data/vendor/wifi/wigig_hostapd 0770 wifi wifi
mkdir /data/misc/wifi 0770 wifi wifi
@@ -714,7 +716,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/wpa/sockets -puse_p2p_group_interface=1 -dd \
-e/data/misc/wifi/entropy.bin -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