aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--BoardConfig.mk2
-rwxr-xr-xrootdir/etc/init.qcom.rc7
2 files changed, 4 insertions, 5 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 0aea0e7..9a5207b 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -187,8 +187,6 @@ HOSTAPD_VERSION := VER_0_8_X
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta"
WIFI_DRIVER_FW_PATH_P2P := "p2p"
-WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
-WIFI_DRIVER_MODULE_NAME := "wlan"
WPA_SUPPLICANT_VERSION := VER_0_8_X
# inherit from the proprietary version
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