init.rc: update wifi config location /data/vendor/wifi
Update wifi configurations location to /data/vendor/wifi Change-Id: I900e1f7640ce3cb32ce8a7621b63b9e69892c8a2 CRs-Fixed: 2069282
This commit is contained in:
parent
27132c8ca5
commit
16597c655b
|
@ -220,6 +220,9 @@ on post-fs-data
|
|||
|
||||
# Create the directories used by the Wireless subsystem
|
||||
mkdir /data/vendor/wifi 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/sockets 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/hostapd/ctrl 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa_supplicant 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
|
||||
|
@ -646,12 +649,12 @@ service amp_unload /system/bin/amploader -u
|
|||
oneshot
|
||||
|
||||
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
|
||||
-ip2p0 -Dnl80211 -c/data/vendor/wifi/p2p_supplicant.conf \
|
||||
-I/system/etc/wifi/p2p_supplicant_overlay.conf -N \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-iwlan0 -Dnl80211 -c/data/vendor/wifi/wpa_supplicant.conf \
|
||||
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
|
||||
-O/data/misc/wifi/sockets -puse_p2p_group_interface=1 -dd \
|
||||
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
|
||||
-O/data/vendor/wifi/sockets -puse_p2p_group_interface=1 -dd \
|
||||
-e/data/vendor/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
|
||||
# user wifi
|
||||
|
|
Loading…
Reference in New Issue