From 97f10a11cc42bd424fe36a281a6a58c01d7af49a Mon Sep 17 00:00:00 2001 From: Paul Szczeanek Date: Fri, 2 Oct 2020 17:23:10 +0100 Subject: [PATCH] fix missed member initialisation --- connectivity/drivers/wifi/esp8266-driver/ESP8266Interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connectivity/drivers/wifi/esp8266-driver/ESP8266Interface.cpp b/connectivity/drivers/wifi/esp8266-driver/ESP8266Interface.cpp index 592817a43d..fc9ed25d24 100644 --- a/connectivity/drivers/wifi/esp8266-driver/ESP8266Interface.cpp +++ b/connectivity/drivers/wifi/esp8266-driver/ESP8266Interface.cpp @@ -81,7 +81,8 @@ ESP8266Interface::ESP8266Interface() _oob_event_id(0), _connect_event_id(0), _disconnect_event_id(0), - _software_conn_stat(IFACE_STATUS_DISCONNECTED) + _software_conn_stat(IFACE_STATUS_DISCONNECTED), + _dhcp(true) { memset(_cbs, 0, sizeof(_cbs)); memset(ap_ssid, 0, sizeof(ap_ssid));