qcacmn: Selectively reduce the serialization logs

Reduce the serilization logs from info to debug.

Change-Id: If25749086cc05a97eed5b438cf3e14237428acfd
CRs-Fixed: 2606566
This commit is contained in:
Arun Kumar Khandavalli 2020-01-20 12:27:07 +05:30 • committed by nshrivas
commit d3ebfc2db6
2 changed files with 5 additions and 7 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -949,8 +949,8 @@ QDF_STATUS wlan_ser_vdev_queue_disable(struct wlan_objmgr_vdev *vdev)
wlan_serialization_acquire_lock(&pdev_q->pdev_queue_lock);
vdev_queue->queue_disable = true;
wlan_serialization_release_lock(&pdev_q->pdev_queue_lock);
ser_info("Disabling the serialization for vdev:%d",
wlan_vdev_get_id(vdev));
ser_debug("Disabling the serialization for vdev:%d",
wlan_vdev_get_id(vdev));
return QDF_STATUS_SUCCESS;
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -173,10 +173,8 @@ wlan_serialization_peek_head_pending_cmd_using_psoc(
pdev_queue =
&ser_pdev_obj->pdev_q[SER_PDEV_QUEUE_COMP_NON_SCAN];
queue = &pdev_queue->pending_list;
if (wlan_serialization_list_empty(queue)) {
ser_err("Empty Queue");
if (wlan_serialization_list_empty(queue))
goto end;
}
wlan_serialization_acquire_lock(&pdev_queue->pdev_queue_lock);
if (QDF_STATUS_SUCCESS != wlan_serialization_get_cmd_from_queue(