bcmdhd: Change directory for wifi_mac.txt to /factory/fct/
Srinivas Ramachandran [Thu, 22 Oct 2015 19:05:58 +0000 (12:05 -0700)]
bcmdhd_88: Change directory for wifi_mac.txt to /factory/fct/

- Android M modifies vold, and /mnt and /storage mount points
  cause compatible issues for fct and rp3 partitions.
- Change fct mount point from /mnt/factory to /factory/fct

Bug 1697489

Change-Id: I7da3a7157f59353d83c504411c4f60d9c0e46d8f
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/821611
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
drivers/net/wireless/bcmdhd_88/wl_android.c

index 100712b..5a81190 100644 (file)
@@ -216,7 +216,7 @@ int wifi_platform_bus_enumerate(wifi_adapter_info_t *adapter, bool device_presen
 
 }
 
-#define ARDBEG_WIFI_MAC_ADDR_FILE      "/mnt/factory/wifi/wifi_mac.txt"
+#define ARDBEG_WIFI_MAC_ADDR_FILE      "/factory/fct/wifi/wifi_mac.txt"
 static int _wifi_get_mac_addr_file(unsigned char *buf)
 {
        struct file *fp;
index 234cc34..1cef89a 100644 (file)
@@ -1763,7 +1763,7 @@ int wifi_set_power(int on, unsigned long msec)
        return ret;
 }
 
-#define ARDBEG_WIFI_MAC_ADDR_FILE      "/mnt/factory/wifi/wifi_mac.txt"
+#define ARDBEG_WIFI_MAC_ADDR_FILE      "/factory/fct/wifi/wifi_mac.txt"
 static int _wifi_get_mac_addr_file(unsigned char *buf)
 {
        struct file *fp;