Replace init.svc.hostapd with wifi.hostapd.
Check softap enable status,by getting wifi.hostapd property. Change-Id: Iee3a0a21fbfbf1cb65d9050c7274b9fc5b245db6 CRs-fixed: 329942
This commit is contained in:
parent
6344a80689
commit
9e0869e184
1 changed files with 2 additions and 2 deletions
|
@ -357,8 +357,8 @@ s32 is_softap_enabled(void)
|
|||
{
|
||||
s8 stat[32] = {0};
|
||||
|
||||
if ( property_get("init.svc.hostapd", stat, NULL) &&
|
||||
(strcmp(stat, "running") == 0)) {
|
||||
if ( property_get("wifi.hostapd", stat, NULL) &&
|
||||
(strcmp(stat, "1") == 0)) {
|
||||
LOGD("HOSTAPD enabled \n");
|
||||
return ENABLE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue