[Bugfix][API-1136] add more SERVICE_ABNORMAL option
Change-Id: Ib99b1301e9e23829504937879ee1423773d94d74
diff --git a/lib/liblynq-wifi6/libwifi6.c b/lib/liblynq-wifi6/libwifi6.c
index ed38fbf..579da4a 100755
--- a/lib/liblynq-wifi6/libwifi6.c
+++ b/lib/liblynq-wifi6/libwifi6.c
@@ -471,6 +471,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)