[BugFix][T106][bug-view-163][WIFI] The WIFI AP callback return status does not match the document definition
Only Configure: Yes
Affected branch: master
Affected module: wifi
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update:No
Change-Id: Ibb800bdf475f3b61ef2a3d8d9fae5544a3364fea
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-wifi/lynq-qser-wifi.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-wifi/lynq-qser-wifi.cpp
index 8c7d6c2..877afb9 100644
--- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-wifi/lynq-qser-wifi.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-wifi/lynq-qser-wifi.cpp
@@ -235,7 +235,7 @@
}
LYINFLOG("%s:%d,%d,%s,%d\n", __func__, index, pre_status, p_msg->ifname, p_msg->status);
event.id = LYNQ_WIFI_EVENT_AP_STATION;
- event.status = (lynq_wifi_status_e)pre_status;
+ event.status = (lynq_wifi_status_e)p_msg->status;
wifi_event_handle(&event, global_arg);
}
else