From: Andrzej Zaborowski Date: Mon, 1 Mar 2010 04:38:29 +0000 (+0100) Subject: Use stk_envelope_type constant name in sim.c X-Git-Tag: 0.19~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a9cd4fc03f765606f3e21eac66ccbccfcea88c2;p=platform%2Fupstream%2Fofono.git Use stk_envelope_type constant name in sim.c --- diff --git a/src/sim.c b/src/sim.c index 0ab399d..03d3e6e 100644 --- a/src/sim.c +++ b/src/sim.c @@ -42,6 +42,7 @@ #include "smsutil.h" #include "simutil.h" #include "storage.h" +#include "stkutil.h" #define SIM_MANAGER_INTERFACE "org.ofono.SimManager" @@ -1824,7 +1825,7 @@ void __ofono_cbs_sim_download(struct ofono_sim *sim, if (sim->driver->envelope == NULL) return; - tlv[0] = 0xd2; /* Cell Broadcast Download */ + tlv[0] = STK_ENVELOPE_TYPE_CBS_PP_DOWNLOAD; tlv[1] = 6 + pdu_len; tlv[2] = 0x82; /* Device Identities */ tlv[3] = 0x02; /* Device Identities length */