Просмотр исходного кода

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 лет назад
Родитель
Сommit
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;
 	}