blob: 210fafcc5d84f5df84ebca1a4268fe104e6d3f2f [file] [log] [blame]
developer92d19152023-01-12 15:05:10 +08001From 9ccf010f2a1d9d6c5927d563fbba16a35400ed50 Mon Sep 17 00:00:00 2001
2From: "Allen.Ye" <allen.ye@mediatek.com>
3Date: Tue, 6 Dec 2022 11:04:16 +0800
4Subject: [PATCH] Fix dmcli can not set password
5
6---
7 source/TR-181/ml/cosa_wifi_dml.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/source/TR-181/ml/cosa_wifi_dml.c b/source/TR-181/ml/cosa_wifi_dml.c
11index 0759e024..c1aaf42e 100755
12--- a/source/TR-181/ml/cosa_wifi_dml.c
13+++ b/source/TR-181/ml/cosa_wifi_dml.c
14@@ -12459,7 +12459,7 @@ Security_SetParamStringValue
15 case wifi_security_mode_wpa_personal:
16 case wifi_security_mode_wpa2_personal:
17 case wifi_security_mode_wpa_wpa2_personal:
18- vapInfo->u.bss_info.security.u.key.type = wifi_security_key_type_pass;
19+ vapInfo->u.bss_info.security.u.key.type = wifi_security_key_type_psk;
20 vapInfo->u.bss_info.security.mfp = wifi_mfp_cfg_disabled;
21 break;
22 case wifi_security_mode_wpa3_personal:
23--
242.18.0
25