diff options
| author | Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com> | 2025-04-03 13:52:07 +0530 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-04-11 21:19:28 -0700 |
| commit | 4f4b067dd61695e860f97cae6ed6589a3a7dfba3 (patch) | |
| tree | 6a6a16529509b3a4905e9af98da49e23aaf6098a /tools/perf/scripts/python/task-analyzer.py | |
| parent | wifi: ath12k: Resolve multicast packet drop by populating key_cipher in ath12... (diff) | |
| download | linux-4f4b067dd61695e860f97cae6ed6589a3a7dfba3.tar.gz linux-4f4b067dd61695e860f97cae6ed6589a3a7dfba3.zip | |
wifi: ath12k: Introduce check against zero for ahvif->key_cipher in ath12k_mac_op_tx()
Currently, ahvif->key_cipher is compared with the enum value
(WMI_CIPHER_NONE) inside ath12k_mac_op_tx(). However, ahvif->key_cipher is
set using the macro value WLAN_CIPHER_SUITE_XXXX which seems inconsistent.
To improve code consistency and readability, introduce check against zero
for ahvif->key_cipher instead of comparing it with the enum
(WMI_CIPHER_NONE).
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00209-QCAHKSWPL_SILICONZ-1
Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250403082207.3323938-3-aaradhana.sahu@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
