diff options
| author | Rodrigo Gobbi <[email protected]> | 2025-05-22 20:01:12 +0000 |
|---|---|---|
| committer | Jeff Johnson <[email protected]> | 2025-06-07 14:36:03 +0000 |
| commit | b0d226a60856a1b765bb9a3848c7b2322fd08c47 (patch) | |
| tree | 2a6bc0d1adcd7d8a88fcad5e08296d9de7b69f5c /lib/raid6/algos.c | |
| parent | wifi: ath11k: consistently use ath11k_mac_get_fw_stats() (diff) | |
| download | kernel-b0d226a60856a1b765bb9a3848c7b2322fd08c47.tar.gz kernel-b0d226a60856a1b765bb9a3848c7b2322fd08c47.zip | |
wifi: ath11k: validate ath11k_crypto_mode on top of ath11k_core_qmi_firmware_ready
if ath11k_crypto_mode is invalid (not ATH11K_CRYPT_MODE_SW/ATH11K_CRYPT_MODE_HW),
ath11k_core_qmi_firmware_ready() will not undo some actions that was previously
started/configured. Do the validation as soon as possible in order to avoid
undoing actions in that case and also to fix the following smatch warning:
drivers/net/wireless/ath/ath11k/core.c:2166 ath11k_core_qmi_firmware_ready()
warn: missing unwind goto?
Signed-off-by: Rodrigo Gobbi <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: aa2092a9bab3 ("ath11k: add raw mode and software crypto support")
Reviewed-by: Baochen Qiang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions
