From 62dae69edc3e28d624b0d518330f0230cd50d53f Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Wed, 28 Aug 2019 06:00:08 +0200 Subject: [PATCH] u mad br0? Change-Id: Ia96dd10fe831c77a012cef2070b73ed29290c156 --- proprietary/vendor/etc/init/wifi.rc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/proprietary/vendor/etc/init/wifi.rc b/proprietary/vendor/etc/init/wifi.rc index 416871f..ed680f8 100644 --- a/proprietary/vendor/etc/init/wifi.rc +++ b/proprietary/vendor/etc/init/wifi.rc @@ -38,8 +38,15 @@ on boot setprop wifi.interface wlan0 service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ - -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 \ + -puse_p2p_group_interface=1 \ + -O/data/vendor/wifi/wpa/sockets \ -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 + # group wifi inet keystore + interface android.hardware.wifi.supplicant@1.0::ISupplicant default + interface android.hardware.wifi.supplicant@1.1::ISupplicant default class main socket wpa_wlan0 dgram 660 wifi wifi disabled -- 2.20.1