aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordd3boh <dade.garberi@gmail.com>2017-09-18 13:16:24 +0200
committerdd3boh <dade.garberi@gmail.com>2017-09-19 12:47:09 +0200
commit54ba7de0ed2b422a3c9258e95ea8613fcd456e93 (patch)
tree91bf63842883776eb62b3c9dd94e0dd029f04822
parent97cdbad35151f7062600c9b29122a29d61092b26 (diff)
Revert "z2_plus: Change how we mount the wlan.ko module"
This reverts commit 32702d3c707d088f8aa9543833c1bd2cb5606742.
-rw-r--r--BoardConfig.mk2
-rwxr-xr-xrootdir/etc/init.qcom.rc7
2 files changed, 5 insertions, 4 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index d0c5963..4c95d86 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -190,6 +190,8 @@ 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 fe960f5..0b91da1 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -1008,10 +1008,6 @@ 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 \
@@ -1047,6 +1043,9 @@ 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
user system