{
int rv = 0;
const char* str = __convert_mptcp_path_manager_enum_to_str(pm);
- CONNECTION_LOG(CONNECTION_ERROR, "set path manager %s", str);
if (str == NULL) {
CONNECTION_LOG(CONNECTION_ERROR, "Invalid Parameter");
return CONNECTION_ERROR_INVALID_PARAMETER;
}
+ CONNECTION_LOG(CONNECTION_ERROR, "set path manager %s", str);
+
rv = net_mptcp_set_path_manager(conn_handle->network_info_handle, str);
if (rv == NET_ERR_ACCESS_DENIED) {
CONNECTION_LOG(CONNECTION_ERROR, "Access denied"); //LCOV_EXCL_LINE
{
int rv = 0;
const char *str = __convert_mptcp_scheduler_enum_to_str(scheduler);
- CONNECTION_LOG(CONNECTION_ERROR, "set scheduler %s", str);
if (str == NULL) {
CONNECTION_LOG(CONNECTION_ERROR, "Invalid Parameter");
return CONNECTION_ERROR_INVALID_PARAMETER;
}
+ CONNECTION_LOG(CONNECTION_ERROR, "set scheduler %s", str);
+
rv = net_mptcp_set_scheduler(conn_handle->network_info_handle, str);
if (rv == NET_ERR_ACCESS_DENIED) {
CONNECTION_LOG(CONNECTION_ERROR, "Access denied"); //LCOV_EXCL_LINE