[Feature][ZXW-33]merge ZXW 0428 version
Change-Id: I11f167edfea428d9fab198ff00ff1364932d1b0b
diff --git a/ap/lib/libwlan_interface/esp8089_interface.c b/ap/lib/libwlan_interface/esp8089_interface.c
index efa60d6..7677606 100755
--- a/ap/lib/libwlan_interface/esp8089_interface.c
+++ b/ap/lib/libwlan_interface/esp8089_interface.c
@@ -81,11 +81,11 @@
if (authMode != NULL && encrypType != NULL)
{
- printf("zte_wlan_ssid1_security_set authMode = [%s]\n", authMode);
- printf("zte_wlan_ssid1_security_set encrypType = [%s]\n", encrypType);
+ printf("wlan_ssid1_security_set authMode = [%s]\n", authMode);
+ printf("wlan_ssid1_security_set encrypType = [%s]\n", encrypType);
if(NULL == password)//&& (!(!strcmp(authMode, WF_AU_OPEN) && !strcmp(encrypType, WF_ENCRY_NONE))))
{
- printf("zte_wlan_ssid1_security_set password is null\n");
+ printf("wlan_ssid1_security_set password is null\n");
return -1;
}
@@ -132,7 +132,7 @@
len = strlen(password);
if(len != 5 || len != 10 || len != 13 || len != 26)
{
- printf("zte_wlan_ssid1_security_set wep psk len = [%s]\n", len);
+ printf("wlan_ssid1_security_set wep psk len = [%s]\n", len);
return -1;
}
sc_cfg_get("DefaultKeyID",DefaultKeyID,sizeof(DefaultKeyID));
@@ -150,7 +150,7 @@
}
else
{
- printf("zte_wlan_ssid1_security_set wep psk is same\n");
+ printf("wlan_ssid1_security_set wep psk is same\n");
return 1;
}
}
@@ -165,7 +165,7 @@
}
else
{
- printf("zte_wlan_ssid1_security_set wep psk is same\n");
+ printf("wlan_ssid1_security_set wep psk is same\n");
return 1;
}
}
@@ -179,7 +179,7 @@
}
else
{
- printf("zte_wlan_ssid1_security_set wep psk is same\n");
+ printf("wlan_ssid1_security_set wep psk is same\n");
return 1;
}
}
@@ -193,7 +193,7 @@
}
else
{
- printf("zte_wlan_ssid1_security_set wep psk is same\n");
+ printf("wlan_ssid1_security_set wep psk is same\n");
return 1;
}
}
@@ -335,8 +335,8 @@
if(authMode != NULL && encrypType != NULL)
{
- printf("zte_wlan_ssid1_security_get authMode = [%s]\n", authMode);
- printf("zte_wlan_ssid1_security_get encrypType = [%s]\n", encrypType);
+ printf("wlan_ssid1_security_get authMode = [%s]\n", authMode);
+ printf("wlan_ssid1_security_get encrypType = [%s]\n", encrypType);
if((!strcmp(authMode, WF_AU_OPEN)) || (!strcmp(authMode, WF_AU_SHARE)) || (!strcmp(authMode, WF_AU_WEPAUTO)))
{
@@ -451,13 +451,13 @@
ret_for_basic = zte_wlan_ssid1_basic_set(ssid);
if(-1 == ret_for_basic)
{
- printf("zte_wlan_ssid1_basic_set is false\n");
+ printf("wlan_ssid1_basic_set is false\n");
return -1;
}
ret_for_security = zte_wlan_ssid1_security_set(password);
if(-1 == ret_for_security)
{
- printf("call zte_lan_ssid1_security_set failure .\n");
+ printf("call lan_ssid1_security_set failure .\n");
}
if(ret_for_basic == -1 && ret_for_security == -1)
{
@@ -473,7 +473,7 @@
}
else
{
- printf("wifi set cmd zte_wlan_ssid1_set error!\n");
+ printf("wifi set cmd wlan_ssid1_set error!\n");
return -1;
}
}