Revert "stop_station when no wifi-reconnect"

This reverts commit 7588abad32.
This commit is contained in:
Bill Sideris 2023-09-28 14:47:43 +03:00
parent 7258f7b4a0
commit 8c37156675
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33
1 changed files with 0 additions and 7 deletions

View File

@ -266,9 +266,6 @@ bool supervisor_start_web_workflow(bool reload) {
os_getenv_err_t result = common_hal_os_getenv_str("CIRCUITPY_WIFI_SSID", ssid, sizeof(ssid));
if (result != GETENV_OK) {
#if CIRCUITPY_CYW43
common_hal_wifi_radio_stop_station(&common_hal_wifi_radio_obj);
#endif
return false;
}
@ -277,10 +274,6 @@ bool supervisor_start_web_workflow(bool reload) {
// if password is unspecified, assume an open network
password[0] = '\0';
} else if (result != GETENV_OK) {
#if CIRCUITPY_CYW43
common_hal_wifi_radio_stop_station(&common_hal_wifi_radio_obj);
#endif
return false;
}