소스 검색

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)) {
 		WMA_LOGE(FL("vdev_id: %d is not active reject the req: param id %d val %d"),
 			if_id, param_id, param_value);
-		QDF_ASSERT(0);
 		return QDF_STATUS_E_INVAL;
 	}