wifi: ath11k: Remove scan_flags union from struct scan_req_params
authorNicolas Escande <nico.escande@gmail.com>
Fri, 9 Feb 2024 11:35:36 +0000 (12:35 +0100)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 14 Feb 2024 08:15:41 +0000 (10:15 +0200)
commit79ad70c6df0af8e6515a0cc064423b280f281582
treee01794ab191035b70ae803bdc65bdd35ccae53a8
parent64493a7ff74b679640ff493aed11753a1d284ca9
wifi: ath11k: Remove scan_flags union from struct scan_req_params

Now that we do not use scan_flags directly with WMI_SCAN_XXX macros anymore but
only the bitfield scan_f_xxx, lets remove the scan_flags & the underlying union.

This will prevent further problems as some entries in the scan_f_xxx bitfield
don't match their corresponding WMI_SCAN_XXX flags as seen in [1]

[1] https://lore.kernel.org/all/20231127180559.1696041-1-nico.escande@gmail.com/

Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240209113536.266822-3-nico.escande@gmail.com
drivers/net/wireless/ath/ath11k/wmi.h