From 5d42e11033c7ce2e4253f43b02939b1bd260eb15 Mon Sep 17 00:00:00 2001 From: Yun Park Date: Thu, 31 Aug 2017 11:15:59 -0700 Subject: [PATCH] qcacld-3.0: Fix KW issue for unlock rx_hash_lock and initializing cap Unlock variable 'pdev->rx_ring.rx_hash_lock.lock.spinlock' in htt_rx.c. Initialize 'cap.cap_flag' in ol_fw.c. Change-Id: I243647deb01cd2f9c7b3e07feeb321adf849608d CRs-Fixed: 2098769 --- core/bmi/src/ol_fw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/bmi/src/ol_fw.c b/core/bmi/src/ol_fw.c index f84f7b16e4d2..66e1cd477bd3 100644 --- a/core/bmi/src/ol_fw.c +++ b/core/bmi/src/ol_fw.c @@ -867,6 +867,8 @@ QDF_STATUS ol_configure_target(struct ol_context *ol_ctx) if (ol_disable_cdc_max_perf(ol_ctx)) return QDF_STATUS_E_FAILURE; + qdf_mem_zero(&cap, sizeof(cap)); + ret = pld_get_platform_cap(qdf_dev->dev, &cap); if (ret) BMI_ERR("platform capability info not available");