[Bugfix][API-1136] add more SERVICE_ABNORMAL option
Change-Id: Ib99b1301e9e23829504937879ee1423773d94d74
(cherry picked from commit b8d5d060a0373b2c447e9f56c6eb80f2cd06d522)
diff --git a/src/lynq/lib/liblynq-wifi6/libwifi6.c b/src/lynq/lib/liblynq-wifi6/libwifi6.c
index b9658b9..1a0f5e4 100755
--- a/src/lynq/lib/liblynq-wifi6/libwifi6.c
+++ b/src/lynq/lib/liblynq-wifi6/libwifi6.c
@@ -463,6 +463,15 @@
}
}
}
+ else if (strstr(msg_notify, "WoWLAN is enabled") != NULL || strstr(msg_notify, "Failed to start AP functionality") != NULL || strstr(msg_notify, "Could not connect to kernel driver") != NULL )
+ {
+ RLOGD("APWatcherThreadProc ap------> service error");
+ inner_notify_ap_msg(LYNQ_WIFI_SERVICE_ABNORMAL);
+ }
+ else
+ {
+ RLOGD("APWatcherThreadProc ap------> going on check next msg");
+ }
//you.chen add for tv-box end
} // end if (!wpa_ctrl_recv(lynq_wpa_ctrl, msg_notify, &len))
} // end while (g_ap_watcher_stop_flag == 0)