From f20c4e0dd57f00dfcda8e081f7937994684efe36 Mon Sep 17 00:00:00 2001 From: Cossid Date: Sat, 18 Nov 2023 20:54:02 -0600 Subject: [PATCH] Remove no longer necessary dhcp_mode re-set. --- cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp b/cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp index e040d1285..41b79353c 100644 --- a/cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp +++ b/cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp @@ -25,9 +25,6 @@ WiFiClass::begin(const char *ssid, const char *passphrase, int32_t channel, cons } STA_ADV_CFG.ap_info.channel = channel; STA_ADV_CFG.wifi_retry_interval = 100; - - // Unsure why, but this gets unset in advanced config if set during config(), but standard config survives - STA_ADV_CFG.dhcp_mode = STA_CFG.dhcp_mode; } else { strcpy(STA_CFG.wifi_ssid, ssid); memset(STA_CFG.wifi_bssid, 0x00, 6);