wlan: Change location of hostapd files.
Change location of hostapd accept and deny files from /data/hostapd to /data/misc/wifi because SElinux does not allow netd and hostapd to access /data/hostapd directory. Change-Id: I61e8521b3a4b6aab759d3b7cbc04acd3da3c8cf3 CRs-Fixed: 756614
This commit is contained in:
committed by
Neelansh Mittal
parent
00e8d69b78
commit
587b8b3d67
@@ -3196,7 +3196,6 @@ void check_for_configuration_files(void)
|
||||
FILE * fp;
|
||||
|
||||
/* Check if configuration files are present, if not create the default files */
|
||||
mkdir("/data/hostapd", 0771);
|
||||
|
||||
/* If configuration file does not exist copy the default file */
|
||||
if ( NULL == (fp = fopen(CONFIG_FILE, "r")) ) {
|
||||
|
||||
Reference in New Issue
Block a user