summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2016-12-22 17:19:03 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-06 20:55:52 -0800
commitd5c7880138ce7c48590ecfce99d4ac0b38748122 (patch)
treeac4c6bef7491c339119d6fed47bc3918bfe982f7
parentc076f4560ad749a42222436759e68136a757db37 (diff)
qcacld-3.0: Reduce log level in wlan_hdd_validate_context
propagation from qcacld-2.0 to qcacld-3.0 Observed WD bark due to excessive logging, in function wlan_hdd_validate_context. Move log level to INFO from ERROR in wlan_hdd_validate_context(). Change-Id: Ib1e9cbfeb5fa3dbd23c70e1c18773e4f11c2e4da CRs-Fixed: 1080781
-rw-r--r--core/hdd/src/wlan_hdd_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index c14f5ad41478..0f28ef84f2fc 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -562,25 +562,25 @@ static void hdd_qdf_trace_enable(QDF_MODULE_ID moduleId, uint32_t bitmask)
int wlan_hdd_validate_context(hdd_context_t *hdd_ctx)
{
if (NULL == hdd_ctx || NULL == hdd_ctx->config) {
- hdd_err("%pS HDD context is Null", (void *)_RET_IP_);
+ hdd_info("%pS HDD context is Null", (void *)_RET_IP_);
return -ENODEV;
}
if (cds_is_driver_recovering()) {
- hdd_err("%pS Recovery in Progress. State: 0x%x Ignore!!!",
+ hdd_info("%pS Recovery in Progress. State: 0x%x Ignore!!!",
(void *)_RET_IP_, cds_get_driver_state());
return -EAGAIN;
}
if (cds_is_load_or_unload_in_progress()) {
- hdd_err("%pS Unloading/Loading in Progress. Ignore!!!: 0x%x",
+ hdd_info("%pS Unloading/Loading in Progress. Ignore!!!: 0x%x",
(void *)_RET_IP_, cds_get_driver_state());
return -EAGAIN;
}
if (hdd_ctx->start_modules_in_progress ||
hdd_ctx->stop_modules_in_progress) {
- hdd_err("%pS Start/Stop Modules in progress. Ignore!!!",
+ hdd_info("%pS Start/Stop Modules in progress. Ignore!!!",
(void *)_RET_IP_);
return -EAGAIN;
}