return CONNECTION_ERROR_INVALID_PARAMETER;
}
- _connection_libnet_remove_from_profile_cb_list(profile);
+ if (_connection_libnet_remove_from_profile_cb_list(profile) != true)
+ return CONNECTION_ERROR_INVALID_PARAMETER;
return CONNECTION_ERROR_NONE;
}