| From 9ccf010f2a1d9d6c5927d563fbba16a35400ed50 Mon Sep 17 00:00:00 2001 |
| From: "Allen.Ye" <allen.ye@mediatek.com> |
| Date: Tue, 6 Dec 2022 11:04:16 +0800 |
| Subject: [PATCH] Fix dmcli can not set password |
| |
| --- |
| source/TR-181/ml/cosa_wifi_dml.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/source/TR-181/ml/cosa_wifi_dml.c b/source/TR-181/ml/cosa_wifi_dml.c |
| index 0759e024..c1aaf42e 100755 |
| --- a/source/TR-181/ml/cosa_wifi_dml.c |
| +++ b/source/TR-181/ml/cosa_wifi_dml.c |
| @@ -12459,7 +12459,7 @@ Security_SetParamStringValue |
| case wifi_security_mode_wpa_personal: |
| case wifi_security_mode_wpa2_personal: |
| case wifi_security_mode_wpa_wpa2_personal: |
| - vapInfo->u.bss_info.security.u.key.type = wifi_security_key_type_pass; |
| + vapInfo->u.bss_info.security.u.key.type = wifi_security_key_type_psk; |
| vapInfo->u.bss_info.security.mfp = wifi_mfp_cfg_disabled; |
| break; |
| case wifi_security_mode_wpa3_personal: |
| -- |
| 2.18.0 |
| |