developer | 92d1915 | 2023-01-12 15:05:10 +0800 | [diff] [blame^] | 1 | From 9ccf010f2a1d9d6c5927d563fbba16a35400ed50 Mon Sep 17 00:00:00 2001 |
| 2 | From: "Allen.Ye" <allen.ye@mediatek.com> |
| 3 | Date: Tue, 6 Dec 2022 11:04:16 +0800 |
| 4 | Subject: [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 | |
| 10 | diff --git a/source/TR-181/ml/cosa_wifi_dml.c b/source/TR-181/ml/cosa_wifi_dml.c |
| 11 | index 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 | -- |
| 24 | 2.18.0 |
| 25 | |