|
@@ -3969,9 +3969,9 @@ QDF_STATUS hdd_stop_adapter(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter,
|
|
|
qdf_mem_free(adapter->sessionCtx.ap.beacon);
|
|
|
adapter->sessionCtx.ap.beacon = NULL;
|
|
|
}
|
|
|
- mutex_unlock(&hdd_ctx->sap_lock);
|
|
|
if (true == bCloseSession)
|
|
|
hdd_wait_for_sme_close_sesion(hdd_ctx, adapter);
|
|
|
+ mutex_unlock(&hdd_ctx->sap_lock);
|
|
|
break;
|
|
|
case QDF_OCB_MODE:
|
|
|
cdp_clear_peer(cds_get_context(QDF_MODULE_ID_SOC),
|