mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
delete '!!!'
This commit is contained in:
parent
de57c04fb4
commit
ed4c83a935
44 changed files with 206 additions and 187 deletions
|
@ -314,7 +314,7 @@ static int wps_connect_to_AP_by_certificate(rtw_network_info_t *wifi)
|
|||
if(retry_count == RETRY_COUNT)
|
||||
rtw_msleep_os(1000); //When start wps with OPEN AP, AP will send a disassociate frame after STA connected, need reconnect here.
|
||||
if(RTW_SUCCESS == wifi_is_connected_to_ap( )){
|
||||
//printf("\r\n[WPS]Ready to tranceive!!\n");
|
||||
//printf("\r\n[WPS]Ready to tranceive!\n");
|
||||
wps_check_and_show_connection_info();
|
||||
break;
|
||||
}
|
||||
|
@ -501,7 +501,7 @@ int wps_start(u16 wps_config, char *pin, u8 channel, char *ssid)
|
|||
wifi_set_wps_phase(ENABLE);
|
||||
ret = wps_connect_to_AP_by_open_system(target_ssid);
|
||||
if(ret < 0){
|
||||
printf("WPS: WPS Fail!!\n");
|
||||
printf("WPS: WPS Fail!\n");
|
||||
goto exit;
|
||||
}
|
||||
os_xqueue_receive(queue_for_credential, &dev_cred, 120);
|
||||
|
@ -511,9 +511,9 @@ int wps_start(u16 wps_config, char *pin, u8 channel, char *ssid)
|
|||
ret = wps_connect_to_AP_by_certificate(&wifi);
|
||||
goto exit1;
|
||||
} else {
|
||||
printf("WPS: WPS FAIL!!!\n");
|
||||
// printf("\n\rWPS: WPS FAIL!!!\n");
|
||||
// printf("\n\rWPS: WPS FAIL!!!\n");
|
||||
printf("WPS: WPS FAIL!\n");
|
||||
// printf("\n\rWPS: WPS FAIL!\n");
|
||||
// printf("\n\rWPS: WPS FAIL!\n");
|
||||
ret = -1;
|
||||
}
|
||||
exit:
|
||||
|
|
|
@ -1000,7 +1000,7 @@ int wifi_rf_off(void)
|
|||
int wifi_on(rtw_mode_t mode)
|
||||
{
|
||||
int ret = 0;
|
||||
//pvvx int timeout = 20; // 20 sec ??!!
|
||||
//pvvx int timeout = 20; // 20 sec ?!
|
||||
int timeout = wifi_test_timeout_ms/wifi_test_timeout_step_ms;
|
||||
int idx;
|
||||
int devnum = 1;
|
||||
|
@ -1063,7 +1063,7 @@ int wifi_on(rtw_mode_t mode)
|
|||
int wifi_off(void)
|
||||
{
|
||||
// int ret = 0;
|
||||
//pvvx int timeout = 20; // 20 sec ??!!
|
||||
//pvvx int timeout = 20; // 20 sec ?!
|
||||
int timeout = wifi_test_timeout_ms/10;
|
||||
|
||||
if((rltk_wlan_running(WLAN0_IDX) == 0) &&
|
||||
|
|
|
@ -999,7 +999,7 @@ void print_simple_config_result(enum sc_result sc_code)
|
|||
printf("\n");
|
||||
switch (sc_code) {
|
||||
case SC_NO_CONTROLLER_FOUND:
|
||||
printf("Simple Config timeout!! Can't get Ap profile. Please try again\n");
|
||||
printf("Simple Config timeout! Can't get Ap profile. Please try again\n");
|
||||
break;
|
||||
case SC_CONTROLLER_INFO_PARSE_FAIL:
|
||||
printf("Simple Config fail, cannot parse target ap info from controller\n");
|
||||
|
@ -1014,7 +1014,7 @@ void print_simple_config_result(enum sc_result sc_code)
|
|||
printf("Simple Config fail, cannot get dhcp ip address\n");
|
||||
break;
|
||||
case SC_UDP_SOCKET_CREATE_FAIL:
|
||||
printf("Simple Config Ack socket create fail!!!\n");
|
||||
printf("Simple Config Ack socket create fail!\n");
|
||||
break;
|
||||
case SC_TERMINATE:
|
||||
printf("Simple Config terminate\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue