sim900: Fix order of dlc prefixes
authorJesper Larsen <jesper.larsen@ixonos.com>
Wed, 17 Jul 2013 07:14:15 +0000 (09:14 +0200)
committerDenis 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

index 643de51..5d3cd92 100644 (file)
 
 #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: "};