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
This commit is contained in:
Rajeev Kumar
2018-01-12 11:41:16 -08:00
committed by snandini
parent 4f230bf869
commit 69ab276a24

View File

@@ -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;
}