summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDheeraj CVR <cvr.dheeraj@gmail.com>2015-03-12 08:13:40 +0530
committerrogersb11 <brettrogers11@gmail.com>2015-12-08 02:06:43 -0500
commitc4c9333378ad5a7431a207781817545735109f29 (patch)
treee883715ea355fb2b4c6c42f710ecd2e83c9f78a5 /rootdir
parent5d3bb5b451514b968ee11ad588002de31cea6f2a (diff)
downloaddevice_samsung_smdk4412-common-c4c9333378ad5a7431a207781817545735109f29.zip
device_samsung_smdk4412-common-c4c9333378ad5a7431a207781817545735109f29.tar.gz
device_samsung_smdk4412-common-c4c9333378ad5a7431a207781817545735109f29.tar.bz2
smdk4412-common: fix wifi p2p
Change-Id: Ie30f13e4aba6fe2d9b1ccc82f44aa310f47fc0a9
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.smdk4x12.rc17
1 files changed, 7 insertions, 10 deletions
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc
index 9a39e7c..a07a754 100755
--- a/rootdir/init.smdk4x12.rc
+++ b/rootdir/init.smdk4x12.rc
@@ -359,7 +359,6 @@ on post-fs-data
chown system system /dev/ttyGS3
# for wifi
- mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0775 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
chown wifi root /dev/rfkill
@@ -426,11 +425,11 @@ service charger /sbin/healthd -c
service p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
- -I/system/etc/wifi/wpa_supplicant.conf \
- -O/data/misc/wifi/sockets -N \
- -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin \
+ -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
+ -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
+ -I/system/etc/wifi/p2p_supplicant_overlay.conf \
-puse_p2p_group_interface=1 \
- -g@android:wpa_wlan0
+ -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
@@ -441,11 +440,9 @@ service p2p_supplicant /system/bin/wpa_supplicant \
oneshot
service wpa_supplicant /system/bin/wpa_supplicant \
- -Dnl80211 -iwlan0 -e/data/misc/wifi/entropy.bin \
- -c/data/misc/wifi/wpa_supplicant.conf \
- -I/system/etc/wifi/wpa_supplicant.conf \
- -O/data/misc/wifi/sockets \
- -g@android:wpa_wlan0
+ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
+ -I/system/etc/wifi/wpa_supplicant_overlay.conf \
+ -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