summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-04-04 23:45:32 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-04-04 23:45:32 -0500
commit4ee289a4abcce0fe30763c076baf1a2c650dfc19 (patch)
tree078d1faacaae640cce096ef1853ede85fa7ac9fb
parent1b0c1a641656e9727f36ec18272bc83e95715bbd (diff)
downloadofono-4ee289a4abcce0fe30763c076baf1a2c650dfc19.tar.bz2
modem: No need to set get_online on sim reset
When STK sends us a SIM Refresh resulting in a SIM reset, we should not set the online state as the modem should still keep us online anyway.
-rw-r--r--src/modem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modem.c b/src/modem.c
index 3a4bff81..4ec5988d 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -2066,9 +2066,6 @@ void __ofono_modem_sim_reset(struct ofono_modem *modem)
{
DBG("%p", modem);
- if (modem->modem_state == MODEM_STATE_ONLINE)
- modem->get_online = TRUE;
-
modem_change_state(modem, MODEM_STATE_PRE_SIM);
}