qcacld-3.0: cleanup NAN/NDP logging
Few NAN/NDP logs are redundant in the current logging infra. Optimize the same and add few necessary logs. Change-Id: Ie261db317af48955a16269539948ff1596c4bbcb CRs-Fixed: 2644418
Цей коміт міститься в:
@@ -87,8 +87,8 @@ QDF_STATUS nan_set_discovery_state(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
qdf_spin_unlock_bh(&psoc_priv->lock);
|
||||
|
||||
nan_info("NAN State transitioned from %d -> %d", cur_state,
|
||||
psoc_priv->disc_state);
|
||||
nan_debug("NAN State transitioned from %d -> %d", cur_state,
|
||||
psoc_priv->disc_state);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
@@ -443,7 +443,7 @@ QDF_STATUS ucfg_nan_req_processor(struct wlan_objmgr_vdev *vdev,
|
||||
nan_debug("Wait for NDP END indication");
|
||||
err = osif_request_wait_for_response(request);
|
||||
if (err)
|
||||
nan_err("NAN request timed out: %d", err);
|
||||
nan_debug("NAN request timed out: %d", err);
|
||||
osif_request_put(request);
|
||||
psoc_obj->request_context = NULL;
|
||||
}
|
||||
@@ -471,11 +471,11 @@ static void ucfg_nan_request_process_cb(void *cookie)
|
||||
|
||||
request = osif_request_get(cookie);
|
||||
if (request) {
|
||||
nan_debug("request (cookie:0x%pK) completed", cookie);
|
||||
osif_request_complete(request);
|
||||
osif_request_put(request);
|
||||
} else {
|
||||
nan_err("Obsolete request (cookie:0x%pK), do nothing", cookie);
|
||||
nan_debug("Obsolete request (cookie:0x%pK), do nothing",
|
||||
cookie);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -739,7 +739,6 @@ QDF_STATUS ucfg_nan_discovery_req(void *in_req, uint32_t req_type)
|
||||
psoc_priv->is_explicit_disable = true;
|
||||
|
||||
post_msg:
|
||||
nan_debug("posting request: %u", req_type);
|
||||
status = scheduler_post_message(QDF_MODULE_ID_NAN,
|
||||
QDF_MODULE_ID_NAN,
|
||||
QDF_MODULE_ID_OS_IF, &msg);
|
||||
@@ -752,11 +751,8 @@ post_msg:
|
||||
if (req_type != NAN_GENERIC_REQ) {
|
||||
err = osif_request_wait_for_response(request);
|
||||
if (err)
|
||||
nan_err("NAN request: %u timed out: %d",
|
||||
req_type, err);
|
||||
else
|
||||
nan_debug("NAN request: %u serviced successfully",
|
||||
req_type);
|
||||
nan_debug("NAN request: %u timed out: %d",
|
||||
req_type, err);
|
||||
|
||||
if (req_type == NAN_DISABLE_REQ)
|
||||
psoc_priv->is_explicit_disable = false;
|
||||
@@ -1121,13 +1117,12 @@ QDF_STATUS ucfg_disable_nan_discovery(struct wlan_objmgr_psoc *psoc,
|
||||
qdf_mem_copy(nan_req->params.request_data, data, data_len);
|
||||
}
|
||||
|
||||
nan_debug("sending NAN Disable Req");
|
||||
status = ucfg_nan_discovery_req(nan_req, NAN_DISABLE_REQ);
|
||||
|
||||
if (QDF_IS_STATUS_SUCCESS(status))
|
||||
nan_debug("Successfully sent NAN Disable request");
|
||||
else
|
||||
nan_err("Unable to send NAN Disable request: %u", status);
|
||||
nan_debug("Unable to send NAN Disable request: %u", status);
|
||||
|
||||
qdf_mem_free(nan_req);
|
||||
return status;
|
||||
|
Посилання в новій задачі
Заблокувати користувача