We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5a234 commit e1ca122Copy full SHA for e1ca122
ports/espressif/common-hal/wifi/__init__.c
@@ -200,12 +200,6 @@ void common_hal_wifi_init(bool user_initiated) {
200
return;
201
}
202
// 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.
209
char cpy_default_hostname[80];
210
uint8_t mac[6];
211
esp_wifi_get_mac(ESP_IF_WIFI_STA, mac);
0 commit comments