wifi: iwlwifi: always have 'uats_enabled'
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:21:54 +0000 (21:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 2 Feb 2024 13:04:42 +0000 (14:04 +0100)
We check this in code that'd be complicated to put under
ifdef (CONFIG_ACPI), so just always have 'uats_enabled'.

Fixes: 4a9bb5b4d949 ("wifi: iwlwifi: fw: Add support for UATS table in UHB")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240129211905.bdc5fb20f00a.I902d801d79873c5c9cd51cef8e8226e2acefe88d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/runtime.h

index 1ec2bcdf92b80ac7f9aaadafa3d69ddd104ba0a9..048830bb09f254d3385cda6ea83ac5e9ac63ecb1 100644 (file)
@@ -176,10 +176,10 @@ struct iwl_fw_runtime {
        struct iwl_sar_offset_mapping_cmd sgom_table;
        bool sgom_enabled;
        u8 reduced_power_flags;
-       bool uats_enabled;
        struct iwl_uats_table_cmd uats_table;
        u8 uefi_tables_lock_status;
 #endif
+       bool uats_enabled;
 };
 
 void iwl_fw_runtime_init(struct iwl_fw_runtime *fwrt, struct iwl_trans *trans,