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

qcacld-3.0: initialize spinlock before using it

Init dp_link_del_lock to avoid bad magic issue.

Change-Id: Ia30e98d932cb6c5613f79b449f2b9d94ab43e756
CRs-Fixed: 3725021
Nijun Gong 1 жил өмнө
parent
commit
6cfd908441

+ 1 - 0
components/dp/core/src/wlan_dp_main.c

@@ -79,6 +79,7 @@ QDF_STATUS dp_allocate_ctx(void)
 	}
 
 	qdf_spinlock_create(&dp_ctx->intf_list_lock);
+	qdf_spinlock_create(&dp_ctx->dp_link_del_lock);
 	qdf_list_create(&dp_ctx->intf_list, 0);
 	TAILQ_INIT(&dp_ctx->inactive_dp_link_list);