As previously done for ath11k (see [1] lets fixup struct ath12k_wmi_scan_req_arg to remove the scan_flags member. This prevent future use of out of sync WMI_SCAN_XXX defines & their corresponding scan_f_xxx corresponding bitfields [1] https://lore.kernel.org/all/20240209113536.266822-1-nico.escande@xxxxxxxxx/ Nicolas Escande (2): wifi: ath12k: do not use scan_flags from struct wifi: ath12k: Remove unused scan_flags from struct drivers/net/wireless/ath/ath12k/mac.c | 4 +- drivers/net/wireless/ath/ath12k/wmi.c | 2 +- drivers/net/wireless/ath/ath12k/wmi.h | 55 ++++++++++++--------------- 3 files changed, 28 insertions(+), 33 deletions(-) -- 2.43.0