|
@@ -14869,14 +14869,6 @@ QDF_STATUS sme_send_flush_logs_cmd_to_fw(tpAniSirGlobal mac)
|
|
|
QDF_STATUS status;
|
|
|
cds_msg_t message;
|
|
|
|
|
|
- status = sme_acquire_global_lock(&mac->sme);
|
|
|
- if (status != QDF_STATUS_SUCCESS) {
|
|
|
- sms_log(mac, LOGE,
|
|
|
- FL("sme_acquire_global_lock failed!(status=%d)"),
|
|
|
- status);
|
|
|
- return status;
|
|
|
- }
|
|
|
-
|
|
|
/* Serialize the req through MC thread */
|
|
|
message.bodyptr = NULL;
|
|
|
message.type = SIR_HAL_FLUSH_LOG_TO_FW;
|
|
@@ -14887,7 +14879,6 @@ QDF_STATUS sme_send_flush_logs_cmd_to_fw(tpAniSirGlobal mac)
|
|
|
status);
|
|
|
status = QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
- sme_release_global_lock(&mac->sme);
|
|
|
return status;
|
|
|
}
|
|
|
|