瀏覽代碼

qcacld-3.0: Remove redundant assert from WMA if vdev is down

Remove redundant assert message from WMA if vdev is down as
proper error code and error log message is returned to the caller.

Change-Id: I0430cf87620452a8d2973b1d6711c687a887e270
CRs-Fixed: 2171676
Rajeev Kumar 7 年之前
父節點
當前提交
69ab276a24
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/wma/src/wma_dev_if.c

+ 0 - 1
core/wma/src/wma_dev_if.c

@@ -1207,7 +1207,6 @@ wma_vdev_set_param(wmi_unified_t wmi_handle, uint32_t if_id,
 	if (!wma_is_vdev_valid(if_id)) {
 	if (!wma_is_vdev_valid(if_id)) {
 		WMA_LOGE(FL("vdev_id: %d is not active reject the req: param id %d val %d"),
 		WMA_LOGE(FL("vdev_id: %d is not active reject the req: param id %d val %d"),
 			if_id, param_id, param_value);
 			if_id, param_id, param_value);
-		QDF_ASSERT(0);
 		return QDF_STATUS_E_INVAL;
 		return QDF_STATUS_E_INVAL;
 	}
 	}