summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/sim.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-08 12:09:01 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-08 12:09:01 -0600
commit7f9a9b0cdc82d5bb03230a343d5b1504f210c447 (patch)
tree9f6e294750857e78092b6cc805cdb4218caa8acd /drivers/atmodem/sim.c
parent87ca1b0c8f4c5b441eb3209b2b0c867870596882 (diff)
downloadofono-7f9a9b0cdc82d5bb03230a343d5b1504f210c447.tar.bz2
Fix: Don't use ofono_debug directly in plugins
Diffstat (limited to 'drivers/atmodem/sim.c')
-rw-r--r--drivers/atmodem/sim.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index 890c4b24..5c3061e4 100644
--- a/drivers/atmodem/sim.c
+++ b/drivers/atmodem/sim.c
@@ -81,7 +81,7 @@ static void at_crsm_info_cb(gboolean ok, GAtResult *result, gpointer user_data)
(sw1 == 0x90 && sw2 != 0x00))
goto error;
- ofono_debug("crsm_info_cb: %02x, %02x, %i", sw1, sw2, len);
+ DBG("crsm_info_cb: %02x, %02x, %i", sw1, sw2, len);
if (response[0] == 0x62)
ok = sim_parse_3g_get_response(response, len, &flen, &rlen,
@@ -162,7 +162,7 @@ static void at_crsm_read_cb(gboolean ok, GAtResult *result,
return;
}
- ofono_debug("crsm_read_cb: %02x, %02x, %d", sw1, sw2, len);
+ DBG("crsm_read_cb: %02x, %02x, %d", sw1, sw2, len);
cb(&error, response, len, cbd->data);
}
@@ -250,7 +250,7 @@ static void at_crsm_update_cb(gboolean ok, GAtResult *result,
return;
}
- ofono_debug("crsm_update_cb: %02x, %02x", sw1, sw2);
+ DBG("crsm_update_cb: %02x, %02x", sw1, sw2);
cb(&error, cbd->data);
}
@@ -379,7 +379,7 @@ static void at_cimi_cb(gboolean ok, GAtResult *result, gpointer user_data)
imsi = g_at_result_iter_raw_line(&iter);
- ofono_debug("cimi_cb: %s", imsi);
+ DBG("cimi_cb: %s", imsi);
cb(&error, imsi, cbd->data);
}
@@ -467,7 +467,7 @@ static void at_cpin_cb(gboolean ok, GAtResult *result, gpointer user_data)
return;
}
- ofono_debug("crsm_pin_cb: %s", pin_required);
+ DBG("crsm_pin_cb: %s", pin_required);
cb(&error, pin_type, cbd->data);
}
@@ -670,7 +670,7 @@ static void at_lock_status_cb(gboolean ok, GAtResult *result,
g_at_result_iter_next_number(&iter, &locked);
- ofono_debug("lock_status_cb: %i", locked);
+ DBG("lock_status_cb: %i", locked);
cb(&error, locked, cbd->data);
}
@@ -735,7 +735,7 @@ static void at_csim_envelope_cb(gboolean ok, GAtResult *result,
response[len - 2] != 0x90 || response[len - 1] != 0)
goto error;
- ofono_debug("csim_envelope_cb: %i", len);
+ DBG("csim_envelope_cb: %i", len);
cb(&error, response, len - 2, cbd->data);
return;