Skip to content

Commit

Permalink
Temporary remove quick connect featuer for Wi-Fi Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ansonhex committed Nov 19, 2020
1 parent c394fd0 commit 48770b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/WiFiSTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@ wl_status_t WiFiSTAClass::begin()
pscan_config = PSCAN_ENABLE | PSCAN_FAST_SURVEY;
key_id = atoi((const char *)key_id_str);

ret = wifi_set_pscan_chan((uint8_t *)&channel, &pscan_config, 1);
if (ret < 0)
{
log_e("connect failed!");
return WL_CONNECT_FAILED;
}
// ret = wifi_set_pscan_chan((uint8_t *)&channel, &pscan_config, 1);
// if (ret < 0)
// {
// log_e("connect failed!");
// return WL_CONNECT_FAILED;
// }

if (security_type == RTW_SECURITY_OPEN)
{
Expand Down

0 comments on commit 48770b6

Please sign in to comment.