drivers: wifi: Fix esp32 driver

Fix compilation issue on esp_wifi_drv.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
Marek Matej 2023-07-04 12:56:17 +02:00 committed by Carles Cufí
parent f3cafe7559
commit 6e72e401f2
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ static int esp32_wifi_scan(const struct device *dev,
if (params) {
/* The enum values are same, so, no conversion needed */
scan_config->scan_type = params->scan_type;
scan_config.scan_type = params->scan_type;
}
ret = esp_wifi_set_mode(ESP32_WIFI_MODE_STA);