mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
62d51a4382
commit
97ddb6371b
1 changed files with 4 additions and 0 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue