summaryrefslogtreecommitdiffstats
path: root/src/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.h')
-rw-r--r--src/driver.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/driver.h b/src/driver.h
index f753c7f5..c9281795 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -75,12 +75,13 @@ struct ofono_call {
#define OFONO_MAX_OPERATOR_NAME_LENGTH 63
/* MCC is always three digits. MNC is either two or three digits */
-#define OFONO_MAX_MNC_MCC_LENGTH 3
+#define OFONO_MAX_MCC_LENGTH 3
+#define OFONO_MAX_MNC_LENGTH 3
struct ofono_network_operator {
char name[OFONO_MAX_OPERATOR_NAME_LENGTH + 1];
- char mcc[OFONO_MAX_MNC_MCC_LENGTH + 1];
- char mnc[OFONO_MAX_MNC_MCC_LENGTH + 1];
+ char mcc[OFONO_MAX_MCC_LENGTH + 1];
+ char mnc[OFONO_MAX_MNC_LENGTH + 1];
int status;
int tech;
};