Skip to content

Commit

Permalink
drivers: wifi: Fix esp32 driver
Browse files Browse the repository at this point in the history
Fix compilation issue on esp_wifi_drv.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
  • Loading branch information
Marek Matej authored and carlescufi committed Jul 4, 2023
1 parent f3cafe7 commit 6e72e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/wifi/esp32/src/esp_wifi_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e72e40

Please sign in to comment.