u mad br0?
authorJan Altensen <info@stricted.net>
Wed, 28 Aug 2019 04:00:08 +0000 (06:00 +0200)
committerJan Altensen <info@stricted.net>
Wed, 28 Aug 2019 04:00:08 +0000 (06:00 +0200)
Change-Id: Ia96dd10fe831c77a012cef2070b73ed29290c156

proprietary/vendor/etc/init/wifi.rc

index 416871f07dfb133bc848b19a1a6bc7c9bc0f9825..ed680f8c2d19c99e43a067160bb172d834baad3e 100644 (file)
@@ -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