mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
c54f1a6f2d
commit
c05a19115e
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue