diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-12 13:06:40 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-14 07:05:26 +0200 |
commit | a66f971a7cdea4bf1d9f6390e12f950f41ee5595 (patch) | |
tree | 91134bf4d00ffd509a8b7112effe2525342cfb88 /src/mm-sim.c | |
parent | fbe01c8d6a22cb95ff74ddefc907e663cdeee710 (diff) |
libmm-common: added common utils from core
Moved the utils to play with binary to hex strings into libmm-common.
Diffstat (limited to 'src/mm-sim.c')
-rw-r--r-- | src/mm-sim.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mm-sim.c b/src/mm-sim.c index 7cdb356b..6503d342 100644 --- a/src/mm-sim.c +++ b/src/mm-sim.c @@ -29,7 +29,6 @@ #include "mm-sim.h" #include "mm-base-modem-at.h" #include "mm-base-modem.h" -#include "mm-utils.h" #include "mm-log.h" #include "mm-modem-helpers.h" #include "mm-marshal.h" @@ -1178,7 +1177,7 @@ parse_mnc_length (const gchar *response, } /* Convert hex string to binary */ - bin = utils_hexstr2bin (hex, &buflen); + bin = mm_utils_hexstr2bin (hex, &buflen); if (!bin || buflen < 4) { g_set_error (error, MM_CORE_ERROR, @@ -1315,7 +1314,7 @@ parse_spn (const gchar *response, } /* Convert hex string to binary */ - bin = utils_hexstr2bin (hex, &buflen); + bin = mm_utils_hexstr2bin (hex, &buflen); if (!bin) { g_set_error (error, MM_CORE_ERROR, |