From e936b21085dbc8a63210dd5cce005fa8f9861907 Mon Sep 17 00:00:00 2001 From: Christopher Wiley Date: Thu, 11 Aug 2016 15:42:39 -0700 Subject: [PATCH] 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 00805ec..e87b1b8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -677,7 +677,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 \ @@ -693,20 +693,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 -dd \ - -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 wigig_supplicant /system/bin/wpa_supplicant \ -iwigig0 -Dnl80211 -c/data/misc/wifi/wigig_supplicant.conf \ -m/data/misc/wifi/wigig_p2p_supplicant.conf \