[9610] wlbt: files in /data/misc move to /data/vendor
authorIvan Priest <i.priest@samsung.com>
Wed, 11 Jul 2018 11:28:39 +0000 (12:28 +0100)
committerIvan Priest <i.priest@samsung.com>
Wed, 11 Jul 2018 17:43:32 +0000 (18:43 +0100)
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 <i.priest@samsung.com>
drivers/net/wireless/scsc/cm_if.c
drivers/net/wireless/scsc/dev.h
drivers/net/wireless/scsc/mgt.c

index ccd7967453a0720e6b79f5882b23a46af583a467..b166f20c9d044c679abbe7a9541486fe64ec94f0 100755 (executable)
@@ -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);
index 3829dacd1881c8f41e31a7a8a428112d38bf6fb4..82bcb30164e5f6546859f18ed916fa83d651f234 100755 (executable)
@@ -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
index 035d300dab4547d526cd3b318a967ce52cf83c5a..571bc7eca4c6ebc1d1e3200d84efffb301afe52f 100755 (executable)
@@ -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)  {