File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
ports/raspberrypi/common-hal/wifi Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,12 @@ void common_hal_wifi_radio_stop_ap(wifi_radio_obj_t *self) {
208
208
209
209
static bool connection_unchanged (wifi_radio_obj_t * self , const uint8_t * ssid , size_t ssid_len ) {
210
210
if (cyw43_tcpip_link_status (& cyw43_state , CYW43_ITF_STA ) != CYW43_LINK_UP ) {
211
- mp_printf (& mp_plat_print , "(not connected)\n" );
212
211
return false;
213
212
}
214
213
if (ssid_len != self -> connected_ssid_len ) {
215
- mp_printf (& mp_plat_print , "(length mismatch)\n" );
216
214
return false;
217
215
}
218
216
if (memcmp (ssid , self -> connected_ssid , self -> connected_ssid_len )) {
219
- mp_printf (& mp_plat_print , "(ssid mismatch)\n" );
220
217
return false;
221
218
}
222
219
return true;
@@ -240,7 +237,6 @@ wifi_radio_error_t common_hal_wifi_radio_connect(wifi_radio_obj_t *self, uint8_t
240
237
uint64_t deadline = start + timeout_ms ;
241
238
242
239
if (connection_unchanged (self , ssid , ssid_len )) {
243
- mp_printf (& mp_plat_print , "re-used existing wifi connection" );
244
240
return WIFI_RADIO_ERROR_NONE ;
245
241
}
246
242
You can’t perform that action at this time.
0 commit comments