[BugFix][API-1298]fix sta didn't reconnect history ap when sta start

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: I202bcf06cd09278acf924534b768146d97e565b6
diff --git a/lib/liblynq-wifi6/libwifi6.c b/lib/liblynq-wifi6/libwifi6.c
index 963f62b..25e4bad 100755
--- a/lib/liblynq-wifi6/libwifi6.c
+++ b/lib/liblynq-wifi6/libwifi6.c
@@ -807,7 +807,7 @@
     for ( index = 0; index < len ;index++)
     {
         networkid = net_no_list[index];
-        if( lynq_wifi_sta_enable_network(idx,networkid != 0) )
+        if( lynq_wifi_sta_enable_network(idx,networkid) != 0 )
         {
             RLOGE("[wifi]lynq_tmp_enable_network  id is %d fail",networkid);
         }