Skip to content

Commit 48770b6

Browse files
committed
Temporary remove quick connect featuer for Wi-Fi Manager
1 parent c394fd0 commit 48770b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/WiFiSTA.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ wl_status_t WiFiSTAClass::begin()
204204
pscan_config = PSCAN_ENABLE | PSCAN_FAST_SURVEY;
205205
key_id = atoi((const char *)key_id_str);
206206

207-
ret = wifi_set_pscan_chan((uint8_t *)&channel, &pscan_config, 1);
208-
if (ret < 0)
209-
{
210-
log_e("connect failed!");
211-
return WL_CONNECT_FAILED;
212-
}
207+
// ret = wifi_set_pscan_chan((uint8_t *)&channel, &pscan_config, 1);
208+
// if (ret < 0)
209+
// {
210+
// log_e("connect failed!");
211+
// return WL_CONNECT_FAILED;
212+
// }
213213

214214
if (security_type == RTW_SECURITY_OPEN)
215215
{

0 commit comments

Comments
 (0)