Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9df32ed4 authored by Tushnim Bhattacharyya's avatar Tushnim Bhattacharyya Committed by Gerrit - the friendly Code Review server
Browse files

qcacmn: Reduce log level in policy manager

Reduce log level from error to debug in
policy_mgr_convert_device_mode_to_qdf_type,
policy_mgr_get_qdf_mode_from_pm, policy_mgr_decr_active_session,
policy_mgr_decr_session_set_pcl.

Change-Id: I236c6770b87c5a4d4888cb6249aaf128b1cdcb8f
CRs-Fixed: 2317899
parent 5c8443b7
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1199,7 +1199,7 @@ QDF_STATUS policy_mgr_decr_active_session(struct wlan_objmgr_psoc *psoc,
			policy_mgr_convert_device_mode_to_qdf_type(mode),
			session_id);
	if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
		policy_mgr_err("No connection with mode:%d vdev_id:%d",
		policy_mgr_debug("No connection with mode:%d vdev_id:%d",
			policy_mgr_convert_device_mode_to_qdf_type(mode),
			session_id);
		return qdf_status;
@@ -2147,7 +2147,7 @@ enum policy_mgr_con_mode policy_mgr_convert_device_mode_to_qdf_type(
		mode = PM_IBSS_MODE;
		break;
	default:
		policy_mgr_err("Unsupported mode (%d)",
		policy_mgr_debug("Unsupported mode (%d)",
				 device_mode);
	}

@@ -2176,7 +2176,7 @@ enum QDF_OPMODE policy_mgr_get_qdf_mode_from_pm(
		mode = QDF_IBSS_MODE;
		break;
	default:
		policy_mgr_err("Unsupported policy mgr mode (%d)",
		policy_mgr_debug("Unsupported policy mgr mode (%d)",
				 device_mode);
	}
	return mode;
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ void policy_mgr_decr_session_set_pcl(struct wlan_objmgr_psoc *psoc,

	qdf_status = policy_mgr_decr_active_session(psoc, mode, session_id);
	if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
		policy_mgr_err("Invalid active session");
		policy_mgr_debug("Invalid active session");
		return;
	}