Fix: Look for the STK atom, not SIM atom

This commit is contained in:
Denis Kenzior 2010-04-15 13:12:59 -05:00
parent 8f00272563
commit ee74f53160
1 changed files with 1 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ void ofono_cbs_register(struct ofono_cbs *cbs)
cbs_got_imsi(cbs);
}
stk_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_SIM);
stk_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_STK);
if (stk_atom)
cbs->stk = __ofono_atom_get_data(stk_atom);