From 7e30b53429f97a2523824659be7aefc70b3dae2d Mon Sep 17 00:00:00 2001 From: Ivan Priest Date: Wed, 11 Jul 2018 12:28:39 +0100 Subject: [PATCH] [9610] wlbt: files in /data/misc move to /data/vendor Some log files generated in /data/misc move to /data/vendor for P Treble compliance. Change-Id: I155af88fd91a86bb36c4747ad7b6f78855790338 SCSC-Bug-Id: SSB-41803 Signed-off-by: Ivan Priest --- drivers/net/wireless/scsc/cm_if.c | 2 +- drivers/net/wireless/scsc/dev.h | 2 +- drivers/net/wireless/scsc/mgt.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/scsc/cm_if.c b/drivers/net/wireless/scsc/cm_if.c index ccd7967453a0..b166f20c9d04 100755 --- a/drivers/net/wireless/scsc/cm_if.c +++ b/drivers/net/wireless/scsc/cm_if.c @@ -117,7 +117,7 @@ static void wlan_failure_reset(struct scsc_service_client *client, u16 scsc_pani int slsi_check_rf_test_mode(void) { struct file *fp = NULL; - char *filepath = "/data/misc/conn/.psm.info"; + char *filepath = "/data/vendor/conn/.psm.info"; char power_val = 0; fp = filp_open(filepath, O_RDONLY, 0); diff --git a/drivers/net/wireless/scsc/dev.h b/drivers/net/wireless/scsc/dev.h index 3829dacd1881..82bcb30164e5 100755 --- a/drivers/net/wireless/scsc/dev.h +++ b/drivers/net/wireless/scsc/dev.h @@ -1016,7 +1016,7 @@ struct slsi_dev { bool allow_switch_40_mhz; /* Used in AP cert to disable HT40 when not configured */ bool allow_switch_80_mhz; /* Used in AP cert to disable VHT when not configured */ #ifdef CONFIG_SCSC_WLAN_AP_INFO_FILE - /* Parameters in '/data/misc/conn/.softap.info' */ + /* Parameters in '/data/vendor/conn/.softap.info' */ bool dualband_concurrency; u32 softap_max_client; #endif diff --git a/drivers/net/wireless/scsc/mgt.c b/drivers/net/wireless/scsc/mgt.c index 035d300dab45..571bc7eca4c6 100755 --- a/drivers/net/wireless/scsc/mgt.c +++ b/drivers/net/wireless/scsc/mgt.c @@ -219,7 +219,7 @@ static void slsi_print_platform_id(struct slsi_dev *sdev) static void write_wifi_version_info_file(struct slsi_dev *sdev) { struct file *fp = NULL; - char *filepath = "/data/misc/conn/.wifiver.info"; + char *filepath = "/data/vendor/conn/.wifiver.info"; char buf[256]; char build_id_fw[128]; char build_id_drv[64]; @@ -304,7 +304,7 @@ int slsi_start(struct slsi_dev *sdev) #ifdef CONFIG_SCSC_WLAN_AP_INFO_FILE u32 offset = 0; struct file *fp = NULL; - char *filepath = "/data/misc/conn/.softap.info"; + char *filepath = "/data/vendor/conn/.softap.info"; char buf[512]; #endif @@ -438,7 +438,7 @@ int slsi_start(struct slsi_dev *sdev) write_wifi_version_info_file(sdev); #ifdef CONFIG_SCSC_WLAN_AP_INFO_FILE - /* writing .softap.info in /data/misc/conn */ + /* writing .softap.info in /data/vendor/conn */ fp = filp_open(filepath, O_WRONLY | O_CREAT, 0644); if (!fp) { -- 2.20.1