isimodem: Rename resource debug macro

This commit is contained in:
Aki Niemi 2011-04-11 18:02:35 +03:00
parent 638b55f584
commit e17da972e2
17 changed files with 20 additions and 20 deletions

View File

@ -72,7 +72,7 @@ static void isi_call_verify_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(asd->client, CALL_SERVER_STATUS_IND,
isi_call_server_status_ind_cb,

View File

@ -388,7 +388,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_call_barring_register(barr);
}

View File

@ -415,7 +415,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_call_forwarding_register(cf);
}

View File

@ -363,7 +363,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_call_settings_register(cs);
}

View File

@ -210,7 +210,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_devinfo_register(info);
}

View File

@ -269,7 +269,7 @@ static void gpds_reachable_cb(const GIsiMessage *msg, void *opaque)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(gd->client, GPDS_DETACH_IND,
detach_ind_cb, gprs);

View File

@ -58,7 +58,7 @@ static inline struct isi_cb_data *isi_cb_data_new(void *user, void *cb,
f(&e, ##args); \
} while (0)
#define ISI_VERSION_DBG(msg) \
#define ISI_RESOURCE_DBG(msg) \
DBG("QSO: %s [0x%02X] v%03d.%03d", \
pn_resource_name(g_isi_msg_resource((msg))), \
g_isi_msg_resource((msg)), \

View File

@ -974,7 +974,7 @@ static void pn_network_reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
if (nd == NULL || nd->client != NULL)
return;
@ -1004,7 +1004,7 @@ static void pn_modem_network_reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
if (nd == NULL || nd->client != NULL)
return;

View File

@ -299,7 +299,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_phonebook_register(pb);
}

View File

@ -287,7 +287,7 @@ static void wran_reachable_cb(const GIsiMessage *msg, void *opaque)
if (g_isi_msg_error(msg) < 0)
return;
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
rd->wran_object = g_isi_msg_object(msg);
@ -309,7 +309,7 @@ static void gss_reachable_cb(const GIsiMessage *msg, void *opaque)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_radio_settings_register(rs);
}

View File

@ -876,7 +876,7 @@ static void sim_reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_verify(sd->sec_client, sec_reachable_cb, sim, NULL);
}

View File

@ -653,7 +653,7 @@ static void sms_reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_verify(sd->sim, sim_reachable_cb, sms, NULL);
}

View File

@ -231,7 +231,7 @@ static void ussd_reachable_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(ud->client, SS_GSM_USSD_RECEIVE_IND,
ussd_ind_cb, ussd);

View File

@ -1773,7 +1773,7 @@ static void call_verify_cb(const GIsiMessage *msg, void *data)
return;
}
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(ivc->client, CALL_STATUS_IND,
isi_call_status_ind_cb, ovc);

View File

@ -207,7 +207,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
if (!g_isi_msg_error(msg) < 0)
return;
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(isi->client, MTC_STATE_INFO_IND,
mtc_state_ind_cb, om);

View File

@ -241,7 +241,7 @@ static void mtc_reachable_cb(const GIsiMessage *msg, void *data)
if (!g_isi_msg_error(msg) < 0)
return;
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(isi->client, MTC_STATE_INFO_IND,
mtc_state_ind_cb, modem);

View File

@ -235,7 +235,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
if (!g_isi_msg_error(msg) < 0)
return;
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
g_isi_client_ind_subscribe(isi->client, MCE_MODEM_STATE_IND,
mce_state_ind_cb, om);
@ -538,7 +538,7 @@ static void u8500_devinfo_reachable_cb(const GIsiMessage *msg, void *data)
if (g_isi_msg_error(msg) < 0)
return;
ISI_VERSION_DBG(msg);
ISI_RESOURCE_DBG(msg);
ofono_devinfo_register(info);
}