From 509aeeb4b53e823d42626f9df7e7cf7588fb52e4 Mon Sep 17 00:00:00 2001 From: Ashok Kumar Date: Fri, 18 Jan 2019 15:49:11 +0530 Subject: [PATCH] qcacmn: Fix warning in crypto Fix warning for uninitialized variable Change-Id: I7ac7b96d7097ec74264926bdf321f9d406681271 CRs-Fixed: 2363632 --- umac/cmn_services/crypto/src/wlan_crypto_global_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c index fca2ff7e16ce..d4af573ca26c 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c +++ b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c @@ -316,7 +316,7 @@ static QDF_STATUS wlan_crypto_set_pmksa(struct wlan_crypto_params *crypto_params, struct wlan_crypto_pmksa *pmksa) { - uint8_t i, first_available_slot; + uint8_t i, first_available_slot = 0; uint8_t slot_found = 0; /* find the empty slot or slot with same bssid */