projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc4e32
)
sim900: Fix order of dlc prefixes
author
Jesper Larsen
<jesper.larsen@ixonos.com>
Wed, 17 Jul 2013 07:14:15 +0000
(09:14 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 17 Jul 2013 15:28:24 +0000
(10:28 -0500)
The order of the defines for the dlc prefixes does not match
the order of the array containing the strings to print.
plugins/sim900.c
patch
|
blob
|
history
diff --git
a/plugins/sim900.c
b/plugins/sim900.c
index
643de51
..
5d3cd92
100644
(file)
--- a/
plugins/sim900.c
+++ b/
plugins/sim900.c
@@
-49,11
+49,11
@@
#define NUM_DLC 5
-#define
SETUP
_DLC 0
-#define
VOICE_DLC
1
-#define
NETREG_DLC
2
-#define
SMS_DLC
3
-#define
GPRS_DLC
4
+#define
VOICE
_DLC 0
+#define
NETREG_DLC
1
+#define
SMS_DLC
2
+#define
GPRS_DLC
3
+#define
SETUP_DLC
4
static char *dlc_prefixes[NUM_DLC] = { "Voice: ", "Net: ", "SMS: ",
"GPRS: " , "Setup: "};