diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-04-04 23:45:32 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-04-04 23:45:32 -0500 |
commit | 4ee289a4abcce0fe30763c076baf1a2c650dfc19 (patch) | |
tree | 078d1faacaae640cce096ef1853ede85fa7ac9fb | |
parent | 1b0c1a641656e9727f36ec18272bc83e95715bbd (diff) | |
download | ofono-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.c | 3 |
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); } |