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:
parent
f3cafe7559
commit
6e72e401f2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue