diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-04 13:53:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-08 16:35:09 +0200 |
commit | 4be88b899ecc1102973c541dec0e916b22178e0d (patch) | |
tree | 7f2236a7e32591b3e90ae7bfdb4b58862880e05a /src/mm-modem-helpers-mbim.c | |
parent | 7004f97093a3b44c793dcb930e432940d0663137 (diff) |
modem-helpers-mbim: port to use object logging
Diffstat (limited to 'src/mm-modem-helpers-mbim.c')
-rw-r--r-- | src/mm-modem-helpers-mbim.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-modem-helpers-mbim.c b/src/mm-modem-helpers-mbim.c index eb68467e..8d8697b9 100644 --- a/src/mm-modem-helpers-mbim.c +++ b/src/mm-modem-helpers-mbim.c @@ -17,7 +17,7 @@ #include "mm-modem-helpers.h" #include "mm-enums-types.h" #include "mm-errors-types.h" -#include "mm-log.h" +#include "mm-log-object.h" /*****************************************************************************/ @@ -367,6 +367,7 @@ mm_bearer_allowed_auth_from_mbim_auth_protocol (MbimAuthProtocol auth_protocol) MbimAuthProtocol mm_bearer_allowed_auth_to_mbim_auth_protocol (MMBearerAllowedAuth bearer_auth, + gpointer log_object, GError **error) { gchar *str; @@ -374,7 +375,7 @@ mm_bearer_allowed_auth_to_mbim_auth_protocol (MMBearerAllowedAuth bearer_auth, /* NOTE: the input is a BITMASK, so we try to find a "best match" */ if (bearer_auth == MM_BEARER_ALLOWED_AUTH_UNKNOWN) { - mm_dbg ("Using default (PAP) authentication method"); + mm_obj_dbg (log_object, "using default (PAP) authentication method"); return MBIM_AUTH_PROTOCOL_PAP; } if (bearer_auth & MM_BEARER_ALLOWED_AUTH_PAP) |