Skip to content

Commit 8c37156

Browse files
committed
Revert "stop_station when no wifi-reconnect"
This reverts commit 7588aba.
1 parent 7258f7b commit 8c37156

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

supervisor/shared/web_workflow/web_workflow.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ bool supervisor_start_web_workflow(bool reload) {
266266

267267
os_getenv_err_t result = common_hal_os_getenv_str("CIRCUITPY_WIFI_SSID", ssid, sizeof(ssid));
268268
if (result != GETENV_OK) {
269-
#if CIRCUITPY_CYW43
270-
common_hal_wifi_radio_stop_station(&common_hal_wifi_radio_obj);
271-
#endif
272269
return false;
273270
}
274271

@@ -277,10 +274,6 @@ bool supervisor_start_web_workflow(bool reload) {
277274
// if password is unspecified, assume an open network
278275
password[0] = '\0';
279276
} else if (result != GETENV_OK) {
280-
#if CIRCUITPY_CYW43
281-
common_hal_wifi_radio_stop_station(&common_hal_wifi_radio_obj);
282-
#endif
283-
284277
return false;
285278
}
286279

0 commit comments

Comments
 (0)