Browse Source

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
Yun Park 7 years ago
parent
commit
5d42e11033
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/bmi/src/ol_fw.c

+ 2 - 0
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");