aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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