[BugFix][API-1285]fix sta connect return timeout errocode,didn't return psw errorcode

Only Configure

Affected branch:MR3.0-xx && GSW3.0

Affected module:wifi

Is it addected on both ZXIC and MTK: only MTK

Self-test: Yes

Doc Update: No

Change-Id: I1c061ff7900c4bec2dd2a8f209e8724631452e6f
diff --git a/lib/liblynq-wifi6/libwifi6.c b/lib/liblynq-wifi6/libwifi6.c
index 831e4a0..55209a0 100755
--- a/lib/liblynq-wifi6/libwifi6.c
+++ b/lib/liblynq-wifi6/libwifi6.c
@@ -904,6 +904,7 @@
             else if (memcmp(pReason, "WRONG_KEY", 9) == 0)
             {
                 *error = LYNQ_PSW_ERROR;
+                *state = LYNQ_WIFI_STA_STATUS_CONNECT_FAIL;
                 // tmp fix sta autoconnect connect and disconnect
                 if(tmpdisid != -1 && lynq_wifi_sta_stop_network(0,tmpdisid) != 0)
                 {