Merge "qcacmn: Don't destroy uncreated completion_freeq_lock"

This commit is contained in:
Linux Build Service Account
2020-05-26 04:40:45 -07:00
committed by Gerrit - the friendly Code Review server
commit b1cd82186a

Näytä tiedosto

@@ -2799,7 +2799,8 @@ void hif_ce_stop(struct hif_softc *scn)
pipe_info = &hif_state->pipe_info[pipe_num];
if (pipe_info->ce_hdl) {
if (pipe_info->ce_hdl != ce_diag) {
if (pipe_info->ce_hdl != ce_diag &&
hif_state->started) {
attr = hif_state->host_ce_config[pipe_num];
if (attr.src_nentries)
qdf_spinlock_destroy(&pipe_info->