summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Larsen <jesper.larsen@ixonos.com>2013-07-17 09:14:15 +0200
committerDenis Kenzior <denkenz@gmail.com>2013-07-17 10:28:24 -0500
commitcf031b11f92022b5454e1e6c33ad9049262e0721 (patch)
tree133a95b785879cdbc947df2a6bb8b272653ecc08
parent0bc4e32db1e9aff90b9f9b899536816b1907eb81 (diff)
downloadofono-cf031b11f92022b5454e1e6c33ad9049262e0721.tar.bz2
sim900: Fix order of dlc prefixes
The order of the defines for the dlc prefixes does not match the order of the array containing the strings to print.
-rw-r--r--plugins/sim900.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sim900.c b/plugins/sim900.c
index 643de512..5d3cd922 100644
--- 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: "};