Skip to content

Commit

Permalink
kuntao: Stop copying WCNSS_qcom_cfg.ini to userdata
Browse files Browse the repository at this point in the history
Change-Id: I7b9fbc0e26a1563f3e13fe0f9d58308b618a5702
  • Loading branch information
mikeNG committed Feb 12, 2019
1 parent a571246 commit 390c66f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
9 changes: 0 additions & 9 deletions Android.mk
Expand Up @@ -92,13 +92,4 @@ $(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE)

ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS)

WCNSS_CONFIG_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini
$(WCNSS_CONFIG_SYMLINK): $(LOCAL_INSTALLED_MODULE)
@echo "WCNSS config link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /data/misc/wifi/$(notdir $@) $@

ALL_DEFAULT_INSTALLED_MODULES += $(WCNSS_CONFIG_SYMLINK)

endif
1 change: 1 addition & 0 deletions BoardConfig.mk
Expand Up @@ -190,6 +190,7 @@ BOARD_WLAN_DEVICE := qcwcn
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
PRODUCT_VENDOR_MOVE_ENABLED := true
TARGET_DISABLE_WCNSS_CONFIG_COPY := true
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta"
WPA_SUPPLICANT_VERSION := VER_0_8_X
Expand Down
2 changes: 1 addition & 1 deletion device.mk
Expand Up @@ -371,7 +371,7 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini

# Call the proprietary setup
$(call inherit-product, vendor/lenovo/kuntao/kuntao-vendor.mk)

0 comments on commit 390c66f

Please sign in to comment.