mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2025-07-31 20:31:06 +00:00
update wifi driver
This commit is contained in:
parent
f93445dfa6
commit
7f4971152a
5 changed files with 12 additions and 8 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#include <wifi/wifi_conf.h>
|
||||
#include <wifi/wifi_util.h>
|
||||
#include <wifi/wifi_ind.h>
|
||||
#include "tcpip.h"
|
||||
#include "lwip/tcpip.h"
|
||||
#include <osdep_service.h>
|
||||
|
||||
#if CONFIG_EXAMPLE_WLAN_FAST_CONNECT || CONFIG_JD_SMART
|
||||
|
|
@ -413,6 +413,7 @@ int wifi_connect(
|
|||
u8 wep_pwd[14] = {0};
|
||||
|
||||
if(rtw_join_status & JOIN_SIMPLE_CONFIG || rtw_join_status & JOIN_AIRKISS){
|
||||
printf("%s %d\r\n", __FUNCTION__, __LINE__);
|
||||
return RTW_ERROR;
|
||||
}
|
||||
|
||||
|
|
@ -534,6 +535,7 @@ int wifi_connect(
|
|||
goto error;
|
||||
} else {
|
||||
if(wifi_is_connected_to_ap( ) != RTW_SUCCESS) {
|
||||
printf("%s %d\r\n", __FUNCTION__, __LINE__);
|
||||
result = RTW_ERROR;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -553,6 +555,7 @@ int wifi_connect(
|
|||
rtw_free(join_result->network_info.password);
|
||||
}
|
||||
if(wifi_is_connected_to_ap( ) != RTW_SUCCESS) {
|
||||
printf("%s %d\r\n", __FUNCTION__, __LINE__);
|
||||
result = RTW_ERROR;
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue