comment why not actually reset wifi

This commit is contained in:
Jeff Epler 2022-09-28 14:10:57 -05:00
parent ff7731491e
commit 4380292848
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ void wifi_reset(void) {
if (!wifi_inited) {
return;
}
// the cyw43 wifi chip is not reset due to https://github.com/raspberrypi/pico-sdk/issues/980
common_hal_wifi_monitor_deinit(MP_STATE_VM(wifi_monitor_singleton));
wifi_radio_obj_t *radio = &common_hal_wifi_radio_obj;
common_hal_wifi_radio_obj.current_scan = NULL;