zte: port to use object logging
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "mm-common-zte.h"
|
||||
#include "mm-broadband-modem-zte-icera.h"
|
||||
#include "mm-modem-helpers.h"
|
||||
#include "mm-log.h"
|
||||
|
||||
static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface);
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include "ModemManager.h"
|
||||
#include "mm-log.h"
|
||||
#include "mm-errors-types.h"
|
||||
#include "mm-modem-helpers.h"
|
||||
#include "mm-base-modem-at.h"
|
||||
@@ -70,7 +69,6 @@ load_unlock_retries_ready (MMBaseModem *self,
|
||||
|
||||
response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);
|
||||
if (!response) {
|
||||
mm_dbg ("Couldn't query unlock retries: '%s'", error->message);
|
||||
g_task_return_error (task, error);
|
||||
g_object_unref (task);
|
||||
return;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define _LIBMM_INSIDE_MM
|
||||
#include <libmm-glib.h>
|
||||
|
||||
#include "mm-log.h"
|
||||
#include "mm-log-object.h"
|
||||
#include "mm-plugin-zte.h"
|
||||
#include "mm-broadband-modem-zte.h"
|
||||
#include "mm-broadband-modem-zte-icera.h"
|
||||
@@ -70,7 +70,7 @@ create_modem (MMPlugin *self,
|
||||
{
|
||||
#if defined WITH_QMI
|
||||
if (mm_port_probe_list_has_qmi_port (probes)) {
|
||||
mm_dbg ("QMI-powered ZTE modem found...");
|
||||
mm_obj_dbg (self, "QMI-powered ZTE modem found...");
|
||||
return MM_BASE_MODEM (mm_broadband_modem_qmi_new (uid,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
@@ -81,7 +81,7 @@ create_modem (MMPlugin *self,
|
||||
|
||||
#if defined WITH_MBIM
|
||||
if (mm_port_probe_list_has_mbim_port (probes)) {
|
||||
mm_dbg ("MBIM-powered ZTE modem found...");
|
||||
mm_obj_dbg (self, "MBIM-powered ZTE modem found...");
|
||||
return MM_BASE_MODEM (mm_broadband_modem_mbim_new (uid,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
@@ -126,7 +126,7 @@ grab_port (MMPlugin *self,
|
||||
}
|
||||
|
||||
if (mm_kernel_device_get_global_property_as_boolean (port, "ID_MM_ZTE_ICERA_DHCP")) {
|
||||
mm_dbg ("ZTE: Icera-based modem will use DHCP");
|
||||
mm_obj_dbg (self, "ZTE: Icera-based modem will use DHCP");
|
||||
g_object_set (modem,
|
||||
MM_BROADBAND_MODEM_ICERA_DEFAULT_IP_METHOD, MM_BEARER_IP_METHOD_DHCP,
|
||||
NULL);
|
||||
|
||||
Reference in New Issue
Block a user