Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion halow/mmhalow.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,13 @@ esp_err_t mmhalow_init(const wifi_init_config_t *config)

/* Boot the WLAN interface so that we can retrieve the firmware version. */
struct mmwlan_boot_args boot_args = MMWLAN_BOOT_ARGS_INIT;
(void)mmwlan_boot(&boot_args);
enum mmwlan_status boot_status = mmwlan_boot(&boot_args);
if (boot_status != MMWLAN_SUCCESS)
{
/* There is no teardown path here, so treat this as fatal for the interface. */
ESP_LOGE(TAG, "mmwlan_boot failed - %d, transceiver is not usable", boot_status);
return ESP_FAIL;
}
mmhalow_print_version_info();
#if !CONFIG_HALOW_PS_MODE
mmwlan_set_power_save_mode(MMWLAN_PS_DISABLED);
Expand Down