Skip to content

Commit d74cf04

Browse files
ccli8kartben
authored andcommitted
drivers: wifi: esp_at: enable CONFIG_WIFI_ESP_AT_CIPDINFO_USE automatically
This fixes DNS resolve failure (CONFIG_DNS_RESOLVER) by enabling CONFIG_WIFI_ESP_AT_CIPDINFO_USE (AT+CIPDINFO) automatically to get peer ip-address and port, required by CONFIG_DNS_RESOLVER. Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
1 parent 0f3e6fd commit d74cf04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/wifi/esp_at/Kconfig.esp_at

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ config WIFI_ESP_AT_DNS_USE
163163

164164
config WIFI_ESP_AT_CIPDINFO_USE
165165
bool "Use CIPDINFO to get peer ip and port"
166+
default y if DNS_RESOLVER
166167
help
167168
Enable AT+CIPDINFO to get peer ip-address and port.
168169

0 commit comments

Comments
 (0)