From 9eec85075766c3c31f745bd7b3b140cafcb9623b Mon Sep 17 00:00:00 2001 From: Christopher Wiley Date: Thu, 11 Aug 2016 15:42:39 -0700 Subject: [PATCH] msm8976-common: wifi: Do not define superfluous wpa_supplicant service Bug: 30816535 Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0 --- rootdir/etc/init.qcom.rc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7226c0e..94f47e7 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1414,7 +1414,7 @@ on property:ro.data.large_tcp_window_size=true on property:sys.sysctl.tcp_adv_win_scale=* write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} -service p2p_supplicant /system/bin/wpa_supplicant \ +service wpa_supplicant /system/bin/wpa_supplicant \ -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \ -I/system/etc/wifi/p2p_supplicant_overlay.conf -N \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ @@ -1430,20 +1430,6 @@ service p2p_supplicant /system/bin/wpa_supplicant \ disabled oneshot -service wpa_supplicant /system/bin/wpa_supplicant \ - -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ - -I/system/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets \ - -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 - # user wifi - # group wifi inet keystore - class main - socket wpa_wlan0 dgram 660 wifi wifi - disabled - oneshot - service loc_launcher /system/bin/loc_launcher #loc_launcher will start as root and set its uid to gps class late_start