diff options
Diffstat (limited to 'src/modem.c')
-rw-r--r-- | src/modem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modem.c b/src/modem.c index 7a29edfe..583b79fd 100644 --- a/src/modem.c +++ b/src/modem.c @@ -330,6 +330,8 @@ static void flush_atoms(struct ofono_modem *modem, enum modem_state new_state) GSList *prev; GSList *tmp; + DBG(""); + prev = NULL; cur = modem->atoms; @@ -367,6 +369,8 @@ static void modem_change_state(struct ofono_modem *modem, enum modem_state old_state = modem->modem_state; ofono_bool_t new_online = new_state == MODEM_STATE_ONLINE; + DBG("old state: %d, new state: %d", old_state, new_state); + if (old_state == new_state) return; |