Skip to content

Commit 6c14264

Browse files
bill88tdhalbert
andauthored
Do suggestion
Co-authored-by: Dan Halbert <[email protected]>
1 parent b6399e2 commit 6c14264

File tree

1 file changed

+0
-2
lines changed
  • ports/espressif/common-hal/wifi

1 file changed

+0
-2
lines changed

ports/espressif/common-hal/wifi/Radio.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,6 @@ wifi_radio_error_t common_hal_wifi_radio_connect(wifi_radio_obj_t *self, uint8_t
381381
(self->last_disconnect_reason == WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT)
382382
) {
383383
return WIFI_RADIO_ERROR_AUTH_FAIL;
384-
} else if (self->last_disconnect_reason == WIFI_REASON_NO_AP_FOUND) {
385-
return WIFI_RADIO_ERROR_NO_AP_FOUND;
386384
}
387385
return self->last_disconnect_reason;
388386
} else {

0 commit comments

Comments
 (0)