All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use stk_envelope_type constant name in sim.c
@ 2010-03-01  4:38 Andrzej Zaborowski
  2010-02-27 17:41 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2010-03-01  4:38 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

---
 src/sim.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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 */
-- 
1.6.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-01  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01  4:38 [PATCH] Use stk_envelope_type constant name in sim.c Andrzej Zaborowski
2010-02-27 17:41 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.