summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/wifi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware_legacy/wifi.h')
-rw-r--r--include/hardware_legacy/wifi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi.h b/include/hardware_legacy/wifi.h
index 93f0383..a60718d 100644
--- a/include/hardware_legacy/wifi.h
+++ b/include/hardware_legacy/wifi.h
@@ -150,6 +150,11 @@ int wifi_change_fw_path(const char *fwpath);
#define WIFI_ENTROPY_FILE "/data/misc/wifi/entropy.bin"
int ensure_entropy_file_exists();
+/**
+* Check and create if necessary the desired configuration file
+*/
+int ensure_config_file_exists(const char *config_file, const char *config_file_template);
+
#if __cplusplus
}; // extern "C"
#endif