Skip to content

Commit e1ca122

Browse files
committed
Remove comment abount resetting concerns -thanks @anecdata
1 parent 0d5a234 commit e1ca122

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,6 @@ void common_hal_wifi_init(bool user_initiated) {
200200
return;
201201
}
202202
// set the default lwip_local_hostname
203-
//
204-
// What happens if someone uses wifi.radio.hostname and then the
205-
// interface is reset, I don't know if an interface reset is a thing
206-
// but there is logic here to check for re-entry into the common_hal_wifi_init
207-
// module. I would think we would want to carry the existing hostname across
208-
// subsequent interface resets.
209203
char cpy_default_hostname[80];
210204
uint8_t mac[6];
211205
esp_wifi_get_mac(ESP_IF_WIFI_STA, mac);

0 commit comments

Comments
 (0)