wcnss-service: Remove setup_wlan_driver_ath_prop()
* Not used by anything, avoid SELinux denial
Change-Id: Ic53cf2b39002e366ad9b20ce38dc6b97bcbf9931
diff --git a/wcnss-service/wcnss_service.c b/wcnss-service/wcnss_service.c
index 2349299..70f9970 100644
--- a/wcnss-service/wcnss_service.c
+++ b/wcnss-service/wcnss_service.c
@@ -78,7 +78,6 @@
#define WLAN_INI_FILE_SOURCE "/vendor/etc/wifi/WCNSS_qcom_cfg.ini"
#define WCNSS_HAS_CAL_DATA\
"/sys/module/wcnsscore/parameters/has_calibrated_data"
-#define WLAN_DRIVER_ATH_DEFAULT_VAL "0"
#define ASCII_A 65
#define ASCII_a 97
@@ -478,11 +477,6 @@
return;
}
-void setup_wlan_driver_ath_prop()
-{
- property_set("vendor.wlan.driver.ath", WLAN_DRIVER_ATH_DEFAULT_VAL);
-}
-
#ifdef MDM_DETECT
int check_modem_compatability(struct dev_info *mdm_detect_info)
{
@@ -865,8 +859,6 @@
ALOGE("Cal data is successfully written to WCNSS");
}
- setup_wlan_driver_ath_prop();
-
rc = wcnss_read_and_store_cal_data(fd_dev);
if (rc != SUCCESS)
ALOGE("Failed to read and save cal data %d", rc);