From 72c2011fdccd18137cd5be3044fd0ed81eb2d3cd Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Thu, 18 Jan 2018 14:24:13 -0800 Subject: [PATCH] Don't start supplicant with interfaces Framework will now add interface to supplicant (via HIDL) when it needs to control an interface, so don't specify them in the startup params. Bug: 69426063 Test: Device boots up and able to connect to wifi. Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0 --- ramdisk/init.mt8127.rc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ramdisk/init.mt8127.rc b/ramdisk/init.mt8127.rc index 483668a..9bb5e56 100644 --- a/ramdisk/init.mt8127.rc +++ b/ramdisk/init.mt8127.rc @@ -446,10 +446,7 @@ on property:wlan.driver.status=unloaded #remove -puse_p2p_group_interface=1, our driver doesnot support this feature # service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ - -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ - -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \ - -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -dd \ - -I/system/etc/wifi/p2p_supplicant_overlay.conf \ + -puse_p2p_group_interface=1p2p_device=1 \ -O/data/vendor/wifi/wpa/sockets \ -g@android:wpa_wlan0 # we will start as root and wpa_supplicant will switch to user wifi @@ -458,7 +455,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ # group wifi inet keystore interface android.hardware.wifi.supplicant@1.0::ISupplicant default interface android.hardware.wifi.supplicant@1.1::ISupplicant default - class late_start + class main socket wpa_wlan0 dgram 660 wifi wifi disabled oneshot -- 2.20.1