Fix: Process CBS sim downloads if STK atom exists

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

View File

@ -196,7 +196,8 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned char *pdu,
}
if (cbs_topic_in_range(c.message_identifier, cbs->efcbmid_contents)) {
__ofono_cbs_sim_download(cbs->stk, pdu, pdu_len);
if (cbs->stk)
__ofono_cbs_sim_download(cbs->stk, pdu, pdu_len);
return;
}