Skip to content

Commit 4706b55

Browse files
committed
ESP8266WiFi: remove workaround for wifi_station_ap_number
1 parent 66e2bd0 commit 4706b55

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ wl_status_t ESP8266WiFiSTAClass::begin(const char* ssid, const char *passphrase,
147147
ETS_UART_INTR_DISABLE();
148148

149149
if(WiFi._persistent) {
150-
// workaround for #1997: make sure the value of ap_number is updated and written to flash
151-
// to be removed after SDK update
152-
wifi_station_ap_number_set(2);
153-
wifi_station_ap_number_set(1);
154-
155150
wifi_station_set_config(&conf);
156151
} else {
157152
wifi_station_set_config_current(&conf);

0 commit comments

Comments
 (0)