BugID:17117635: Remove password information in log.
@@ -287,15 +287,12 @@ static void linkkit_work(breeze_apinfo_t *info)
if (!info)
return;
- printf("%s %d, ssid: %s, pw: %s\r\n", __func__, __LINE__, info->ssid,
- info->pw);
-
strncpy(config.ssid, info->ssid, sizeof(config.ssid) - 1);
strncpy(config.pwd, info->pw, sizeof(config.pwd) - 1);
memcpy(config.bssid, info->bssid, ETH_ALEN);
netmgr_set_ap_config(&config);
hal_wifi_suspend_station(NULL);
- LOGI("aos_awss", "Will reconnect wifi: %s %s", config.ssid, config.pwd);
+ LOGI("aos_awss", "Will connect WiFi AP: %s", config.ssid);
netmgr_reconnect_wifi();
}
