qcacld-3.0: Add QDF lock API's
Replace CDF lock API's with QDF lock API's.
Change-Id: I7c4a59920e17915f077c87457c513e763738c062
CRs-Fixed: 981188
diff --git a/core/sap/dfs/src/dfs.c b/core/sap/dfs/src/dfs.c
index 24b43b1..58568f2 100644
--- a/core/sap/dfs/src/dfs.c
+++ b/core/sap/dfs/src/dfs.c
@@ -169,9 +169,9 @@
*/
OS_CANCEL_TIMER(&dfs->ath_dfstesttimer);
dfs->ath_dfstest = 1;
- cdf_spin_lock_bh(&ic->chan_lock);
+ qdf_spin_lock_bh(&ic->chan_lock);
dfs->ath_dfstest_ieeechan = ic->ic_curchan->ic_ieee;
- cdf_spin_unlock_bh(&ic->chan_lock);
+ qdf_spin_unlock_bh(&ic->chan_lock);
dfs->ath_dfstesttime = 1; /* 1ms */
OS_SET_TIMER(&dfs->ath_dfstesttimer,
dfs->ath_dfstesttime);