Merge "Replace init.svc.hostapd with wifi.hostapd."
This commit is contained in:
committed by
QuIC Gerrit Code Review
commit
baad0d7814
@@ -357,8 +357,8 @@ s32 is_softap_enabled(void)
|
|||||||
{
|
{
|
||||||
s8 stat[32] = {0};
|
s8 stat[32] = {0};
|
||||||
|
|
||||||
if ( property_get("init.svc.hostapd", stat, NULL) &&
|
if ( property_get("wifi.hostapd", stat, NULL) &&
|
||||||
(strcmp(stat, "running") == 0)) {
|
(strcmp(stat, "1") == 0)) {
|
||||||
LOGD("HOSTAPD enabled \n");
|
LOGD("HOSTAPD enabled \n");
|
||||||
return ENABLE;
|
return ENABLE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user