[BugFix][API-1271]change wpa_supplicant service log_level to INFO
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: Icf2980114b74dc0a0446b59f95d0b9619f2cae92
diff --git a/src/lynq/lib/liblynq-wifi6/scripts/start_wg870_service.sh b/src/lynq/lib/liblynq-wifi6/scripts/start_wg870_service.sh
index fae9b34..27aaf10 100755
--- a/src/lynq/lib/liblynq-wifi6/scripts/start_wg870_service.sh
+++ b/src/lynq/lib/liblynq-wifi6/scripts/start_wg870_service.sh
@@ -54,5 +54,15 @@
fi
+state=`wpa_cli -iwpa_wlan0_cmd -p/var/run/ IFNAME=wlan0 log_level INFO`
+if [ "$state" != "OK" ]; then
+ state=`wpa_cli -iwpa_wlan0_cmd -p/var/run/ IFNAME=wlan0 log_level INFO`
+
+ if [ "$state" != "OK" ]; then
+ echo "change wpa_cli log_level to INFO FAIL"
+ fi
+fi
+
+
exit 0