aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authordd3boh <dade.garberi@gmail.com>2017-09-17 14:16:09 +0200
committerdd3boh <dade.garberi@gmail.com>2017-09-17 14:16:09 +0200
commit32702d3c707d088f8aa9543833c1bd2cb5606742 (patch)
tree69ac300386ee424748c8988b8a06078f14f63f1f /rootdir
parent66c36e2cb752b01a8c7fbe45e32ccc1681fb9d4b (diff)
z2_plus: Change how we mount the wlan.ko module
Readaptation of https://review.lineageos.org/#/c/190121/ Signed-off-by: dd3boh <dade.garberi@gmail.com>
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/etc/init.qcom.rc7
1 files changed, 4 insertions, 3 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 18f5b5c..3ab9a8a 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -1006,6 +1006,10 @@ service amp_unload /system/bin/amploader -u
disabled
oneshot
+on property:wlan.driver.config=*
+ insmod /system/lib/modules/wlan.ko
+ chown wifi wifi /sys/module/wlan/parameters/fwpath
+
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/p2p_supplicant_overlay.conf -N \
@@ -1041,9 +1045,6 @@ service wifi_fccutild /system/bin/wifi_fccutild
disabled
oneshot
-on property:wifi.fccutild.load.qcacld=true
- insmod /system/lib/modules/qca_cld/qca_cld_wlan.ko con_mode=5
-
service cnss-daemon /system/bin/cnss-daemon -n -l
class late_start