summaryrefslogtreecommitdiff
path: root/components/drivers/wlan
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2020-05-15 09:41:27 +0800
committerWayne Lin <[email protected]>2020-05-15 09:41:27 +0800
commit5d65fe074f0e0ba53673ffef6205aab6baa76d0a (patch)
tree9847ae8364cbd3c7cec8168ba75e2c5cb15a8a41 /components/drivers/wlan
parent39431f5a702f3dcec843cb8884064953594243ec (diff)
parentdab737f6375f5cdd86ad3bc6d166657b17364948 (diff)
Merge branch 'master' of https://github.com/rt-thread/rt-thread into rtt_issues
Diffstat (limited to 'components/drivers/wlan')
-rw-r--r--components/drivers/wlan/wlan_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/wlan/wlan_dev.c b/components/drivers/wlan/wlan_dev.c
index 4241476a2b..53b6138e99 100644
--- a/components/drivers/wlan/wlan_dev.c
+++ b/components/drivers/wlan/wlan_dev.c
@@ -102,7 +102,7 @@ rt_err_t rt_wlan_dev_connect(struct rt_wlan_device *device, struct rt_wlan_info
if ((password_len > RT_WLAN_PASSWORD_MAX_LENGTH) ||
(info->ssid.len > RT_WLAN_SSID_MAX_LENGTH))
{
- LOG_E("L:%d password or ssid is to long", __LINE__);
+ LOG_E("L:%d password or ssid is too long", __LINE__);
return -RT_ERROR;
}
rt_memset(&sta_info, 0, sizeof(struct rt_sta_info));
@@ -150,7 +150,7 @@ rt_err_t rt_wlan_dev_ap_start(struct rt_wlan_device *device, struct rt_wlan_info
if ((password_len > RT_WLAN_PASSWORD_MAX_LENGTH) ||
(info->ssid.len > RT_WLAN_SSID_MAX_LENGTH))
{
- LOG_E("L:%d password or ssid is to long", __LINE__);
+ LOG_E("L:%d password or ssid is too long", __LINE__);
return -RT_ERROR;
}
@@ -530,7 +530,7 @@ rt_err_t rt_wlan_dev_scan(struct rt_wlan_device *device, struct rt_wlan_info *in
{
if (info->ssid.len > RT_WLAN_SSID_MAX_LENGTH)
{
- LOG_E("L:%d ssid is to long", __LINE__);
+ LOG_E("L:%d ssid is too long", __LINE__);
return -RT_EINVAL;
}
rt_memcpy(&scan_info.ssid, &info->ssid, sizeof(rt_wlan_ssid_t));