Эх сурвалжийг харах

qcacmn: Pass key index from wlan_crypto_getkey function

Pass key index from wlan_crypto_getkey function

Change-Id: I3a09e67358f2bc30c0789489d2c0184c475c7776
Sai Pratyusha Magam 3 жил өмнө
parent
commit
36f141c9a4

+ 2 - 1
umac/cmn_services/crypto/src/wlan_crypto_global_api.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -1345,6 +1345,7 @@ QDF_STATUS wlan_crypto_getkey(struct wlan_objmgr_vdev *vdev,
 				(uint8_t *)(&key->keyrsc[0]),
 				sizeof(req_key->keyrsc));
 		req_key->keylen = key->keylen;
+		req_key->keyix = key->keyix;
 		req_key->flags = key->flags;
 		cipher_table = (struct wlan_crypto_cipher *)key->cipher_table;