summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/network-registration.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-08 12:28:23 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-08 12:28:23 -0600
commitc98b951fe627e39c4c3ec699e4453d7803e51e11 (patch)
tree376b278cb3b4b5e405570586c8ad08a825b2ef7f /drivers/atmodem/network-registration.c
parent7f9a9b0cdc82d5bb03230a343d5b1504f210c447 (diff)
downloadofono-c98b951fe627e39c4c3ec699e4453d7803e51e11.tar.bz2
Refactor: Remove atutil dump_response
No longer needed now that we have nice AT command tracing using OFONO_AT_DEBUG=1
Diffstat (limited to 'drivers/atmodem/network-registration.c')
-rw-r--r--drivers/atmodem/network-registration.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index d6651532..f79d8746 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -75,7 +75,6 @@ static void at_creg_cb(gboolean ok, GAtResult *result, gpointer user_data)
struct ofono_error error;
struct netreg_data *nd = cbd->user;
- dump_response("at_creg_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
if (!ok) {
@@ -126,7 +125,6 @@ static void cops_cb(gboolean ok, GAtResult *result, gpointer user_data)
const char *name;
struct ofono_error error;
- dump_response("cops_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
if (!ok || nd->mcc[0] == '\0' || nd->mnc[0] == '\0') {
@@ -189,8 +187,6 @@ static void cops_numeric_cb(gboolean ok, GAtResult *result, gpointer user_data)
const char *str;
int format;
- dump_response("cops_numeric_cb", ok, result);
-
if (!ok)
goto error;
@@ -267,7 +263,6 @@ static void cops_list_cb(gboolean ok, GAtResult *result, gpointer user_data)
int num = 0;
struct ofono_error error;
- dump_response("cops_list_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
if (!ok) {
@@ -386,7 +381,6 @@ static void register_cb(gboolean ok, GAtResult *result, gpointer user_data)
ofono_netreg_register_cb_t cb = cbd->cb;
struct ofono_error error;
- dump_response("register_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
cb(&error, cbd->data);
@@ -475,8 +469,6 @@ static void csq_notify(GAtResult *result, gpointer user_data)
int strength;
GAtResultIter iter;
- dump_response("csq_notify", TRUE, result);
-
g_at_result_iter_init(&iter, result);
if (!g_at_result_iter_next(&iter, "+CSQ:"))
@@ -494,8 +486,6 @@ static void calypso_csq_notify(GAtResult *result, gpointer user_data)
int strength;
GAtResultIter iter;
- dump_response("calypso_csq_notify", TRUE, result);
-
g_at_result_iter_init(&iter, result);
if (!g_at_result_iter_next(&iter, "%CSQ:"))
@@ -513,8 +503,6 @@ static void option_osigq_notify(GAtResult *result, gpointer user_data)
int strength;
GAtResultIter iter;
- dump_response("option_osigq_notify", TRUE, result);
-
g_at_result_iter_init(&iter, result);
if (!g_at_result_iter_next(&iter, "_OSIGQ:"))
@@ -564,8 +552,6 @@ static void ste_ciev_notify(GAtResult *result, gpointer user_data)
int strength, ind;
GAtResultIter iter;
- dump_response("ciev_notify", TRUE, result);
-
g_at_result_iter_init(&iter, result);
if (!g_at_result_iter_next(&iter, "+CIEV:"))
@@ -591,7 +577,6 @@ static void ste_cind_cb(gboolean ok, GAtResult *result, gpointer user_data)
GAtResultIter iter;
struct ofono_error error;
- dump_response("cind_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
if (!ok) {
@@ -640,7 +625,6 @@ static void csq_cb(gboolean ok, GAtResult *result, gpointer user_data)
GAtResultIter iter;
struct ofono_error error;
- dump_response("csq_cb", ok, result);
decode_at_error(&error, g_at_result_final_response(result));
if (!ok) {
@@ -699,8 +683,6 @@ static void creg_notify(GAtResult *result, gpointer user_data)
int status, lac, ci, tech;
struct netreg_data *nd = ofono_netreg_get_data(netreg);
- dump_response("creg_notify", TRUE, result);
-
if (at_util_parse_reg_unsolicited(result, "+CREG:", &status,
&lac, &ci, &tech, nd->vendor) == FALSE)
return;
@@ -794,8 +776,6 @@ static void at_creg_test_cb(gboolean ok, GAtResult *result, gpointer user_data)
int creg1 = 0;
int creg2 = 0;
- dump_response("creg_read_cb", ok, result);
-
if (!ok)
goto error;