From 46c7365023db9d1c5812826a37ef7134b01e3669 Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Wed, 18 Jan 2012 15:29:01 -0800 Subject: Add support for concurrent operation Change-Id: I433cbc664c863d8770dfe4a581b70bb72e4eddff --- init.tuna.rc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init.tuna.rc b/init.tuna.rc index 9ca30c0..648ce1b 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -174,8 +174,20 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \ service sdcard /system/bin/sdcard /data/media 1023 1023 class late_start +service p2p_supplicant /system/bin/wpa_supplicant \ + -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \ + -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1 + # 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 wpa_supplicant /system/bin/wpa_supplicant \ - -Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin + -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin # we will start as root and wpa_supplicant will switch to user wifi # after setting up the capabilities required for WEXT # user wifi -- cgit v1.1