qcacld-3.0: Release vdev reference in enable ns offload api
Currently if num ns offload count is 0, vdev reference is not getting released in pmo core enable ns offload in fw api, this is resulting in vdev ref leak. To address above issue, release vdev ref count if num ns offload count is 0. Change-Id: I2cb7ebf974869f96e5c53faf3855c6c835c28a6c CRs-Fixed: 2521504
This commit is contained in:

zatwierdzone przez
nshrivas

rodzic
133f74939d
commit
9e4fbd6596
@@ -384,7 +384,7 @@ skip_ns_dynamic_check:
|
||||
qdf_spin_unlock_bh(&vdev_ctx->pmo_vdev_lock);
|
||||
pmo_debug("skip ns offload enable as ns count is 0");
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto out;
|
||||
goto dec_ref;
|
||||
}
|
||||
qdf_spin_unlock_bh(&vdev_ctx->pmo_vdev_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user