Merge "Replace init.svc.hostapd with wifi.hostapd."

This commit is contained in:
Linux Build Service Account
2012-02-16 11:51:21 -08:00
committed by QuIC Gerrit Code Review

View File

@@ -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;
}