qcacmn: pkt_log: Use qdf_spin_lock APIs debug infrastructure

Use QDF spin_lock APIs so that we can make use the debug infra.
This will help to identify catch issue related to unbalanced lock
operations or unexpectedely long locks.

Change-Id: I318bcb90340d98813f19862fda14e6ada30bbed6
CRs-Fixed: 2349308
This commit is contained in:
Manjunathappa Prakash
2018-11-13 16:22:25 -08:00
committed by nshrivas
parent f8ccc18f6a
commit c6e684b128
4 changed files with 33 additions and 32 deletions

View File

@@ -99,7 +99,7 @@ struct ath_pktlog_info {
/* Size of buffer in bytes */
int32_t buf_size;
spinlock_t log_lock;
qdf_spinlock_t log_lock;
struct mutex pktlog_mutex;
/* Threshold of TCP SACK packets for triggered stop */