Searched refs:passwd_elem (Results 1 – 1 of 1) sorted by relevance
80 cJSON *ssid_elem, *passwd_elem; in network_qrscan_result_process() local87 passwd_elem = cJSON_GetObjectItem(root, "pwd"); in network_qrscan_result_process()90 if (ssid_elem == NULL || passwd_elem == NULL) in network_qrscan_result_process()93 if (!cJSON_IsString(ssid_elem) || !cJSON_IsString(passwd_elem)) in network_qrscan_result_process()97 strlen(passwd_elem->valuestring) > NETWORK_PASSWD_MAX_LEN) { in network_qrscan_result_process()102 strncpy(passwd, passwd_elem->valuestring, NETWORK_PASSWD_MAX_LEN); in network_qrscan_result_process()
Completed in 2 milliseconds