diff options
author | Bertrand Aygon <bertrand.aygon@intel.com> | 2011-07-27 14:02:19 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-27 15:54:09 +0200 |
commit | 4179c870691108042f8b87002e31077858420c22 (patch) | |
tree | 906c9488fef71c163322904518d55cfe48dee0c9 /plugins/huawei.c | |
parent | 8a3b76272c1c3c6a8418a31c12a1a0f56611364b (diff) | |
download | ofono-4179c870691108042f8b87002e31077858420c22.tar.bz2 |
huawei: add a debug info to help debugging.
Diffstat (limited to 'plugins/huawei.c')
-rw-r--r-- | plugins/huawei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/huawei.c b/plugins/huawei.c index c1f1ae44..b915a85f 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -652,6 +652,8 @@ static void huawei_post_online(struct ofono_modem *modem) { struct huawei_data *data = ofono_modem_get_data(modem); + DBG("%p", modem); + if (data->sim_state != HUAWEI_SIM_STATE_VALID && data->sim_state != HUAWEI_SIM_STATE_INVALID_CS && data->sim_state != HUAWEI_SIM_STATE_INVALID_PS) { |