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
This commit is contained in:
Tushnim Bhattacharyya
2018-09-18 15:53:50 -07:00
committed by nshrivas
szülő c24679128b
commit 56eb2ef814
2 fájl változott, egészen pontosan 6 új sor hozzáadva és 6 régi sor törölve

Fájl megtekintése

@@ -1287,7 +1287,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;
@@ -2238,8 +2238,8 @@ 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)",
device_mode);
policy_mgr_debug("Unsupported mode (%d)",
device_mode);
}
return mode;
@@ -2267,8 +2267,8 @@ enum QDF_OPMODE policy_mgr_get_qdf_mode_from_pm(
mode = QDF_IBSS_MODE;
break;
default:
policy_mgr_err("Unsupported policy mgr mode (%d)",
device_mode);
policy_mgr_debug("Unsupported policy mgr mode (%d)",
device_mode);
}
return mode;
}

Fájl megtekintése

@@ -114,7 +114,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;
}