iwlwifi: fix iwl_uefi_get_uats_table() if not compiled with ACPI

Apply a temporary fix to FreeBSD only to allow AX101 to proceed
further.  While this fix results in a debug error message if
firmware debugging is on we currently take this for the version
we have.  A proper fix will eventually show up in future versions
of iwlwifi.

Sponsored by:	The FreeBSD Foundation
Reported by:	bapt
Tested by:	bapt
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2025-04-11 15:22:55 +00:00
parent 62d51a4382
commit 97ddb6371b

View file

@ -318,7 +318,11 @@ static inline
int iwl_uefi_get_uats_table(struct iwl_trans *trans,
struct iwl_fw_runtime *fwrt)
{
#if defined(__linux__)
return 0;
#elif defined(__FreeBSD__)
return -ENOENT;
#endif
}
#endif /* CONFIG_EFI */
#endif /* __iwl_fw_uefi__ */