浏览代码

qcacmn: Remove unnecessary assert in qdf_mc_timer_start

Currently, driver asserts whenever there is a request to
start timer with an expiration limit of less than 10ms. This
assert is unnecessary and driver should gracefully reject the
request. So, remove the assert in qdf_mc_timer_start.

CRs-Fixed: 3631848
Change-Id: Ib7c6297528d5ced3c61e6183ea8e62c12ea9cb0d
Aditya Kodukula 1 年之前
父节点
当前提交
bab306058c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      qdf/linux/src/qdf_mc_timer.c

+ 0 - 1
qdf/linux/src/qdf_mc_timer.c

@@ -542,7 +542,6 @@ QDF_STATUS qdf_mc_timer_start(qdf_mc_timer_t *timer, uint32_t expiration_time)
 		QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
 			  "%s: Cannot start a timer with expiration less than 10 ms",
 			  __func__);
-		QDF_ASSERT(0);
 		return QDF_STATUS_E_INVAL;
 	}