Skip to content
Commit 5521c538 authored by Thomas Stranger's avatar Thomas Stranger Committed by Carles Cufí
Browse files

drivers: wifi: esp32: sp32_wifi_ap_enable: fix ret value overwritten



The return values of esp_wifi_set_mode(), and esp_wifi_set_config() were
overwritten once esp_wifi_start() is executed.

This commit fixes that by ORing the return value to the others.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent b801a83d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment