wifi: ath12k: Remove unused scan_flags from struct ath12k_wmi_scan_req_arg
authorNicolas Escande <nico.escande@gmail.com>
Sun, 11 Feb 2024 14:55:48 +0000 (15:55 +0100)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 14 Feb 2024 08:16:56 +0000 (10:16 +0200)
commit80fd22d7d41acd55ba362e9975290d9056079fea
treeb0bef99dfc7389dd883e03d4027f4ec47fc1d81d
parentbcdb44f30be92b7bc750996dfc45c1fe3d49d715
wifi: ath12k: Remove unused scan_flags from struct ath12k_wmi_scan_req_arg

As we did for ath11k lets remove the unused scan_flags from struct
ath12k_wmi_scan_req_arg. This will prevent us from using out of sync values
between WMI_SCAN_XXX & scan_f_xxx bitfield.
While at it remove the underlying wrapping struct/union construct as it serves
no purpose anymore.

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/20240211145548.1939610-3-nico.escande@gmail.com
drivers/net/wireless/ath/ath12k/wmi.h