diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-30 15:35:01 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:40 +0100 |
commit | cc55734a01566e73f214526f124b87baa548e19d (patch) | |
tree | 031cd1c9e3d7feef85ba7071d3932fbbeffeaea7 | |
parent | a71e27af961b356ad2a80ebbce2c3036767eadfa (diff) |
api,header: don't use '1G' for modem modes, use 'CS' instead.
1G is not the proper way to define GSM, which is already 2G. Use CS instead,
which will include all circuit-switched broadband modem technologies.
-rw-r--r-- | include/ModemManager-enums.h | 2 | ||||
-rw-r--r-- | libmm-common/mm-common-helpers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 404a4347..232ef6b9 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -176,7 +176,7 @@ typedef enum { /*< underscore_name=mm_modem_access_technology >*/ /** * MMModemMode: * @MM_MODEM_MODE_NONE: None. - * @MM_MODEM_MODE_1G: CSD, GSM. + * @MM_MODEM_MODE_CS: CSD, GSM, and other circuit-switched technologies. * @MM_MODEM_MODE_2G: GPRS, EDGE. * @MM_MODEM_MODE_3G: UMTS, HSxPA. * @MM_MODEM_MODE_4G: LTE. diff --git a/libmm-common/mm-common-helpers.c b/libmm-common/mm-common-helpers.c index ea544c0d..78bcd73b 100644 --- a/libmm-common/mm-common-helpers.c +++ b/libmm-common/mm-common-helpers.c @@ -118,7 +118,7 @@ mm_common_get_modes_string (MMModemMode mode) MMModemMode it; gboolean first = TRUE; - for (it = MM_MODEM_MODE_1G; /* first */ + for (it = MM_MODEM_MODE_CS; /* first */ it <= MM_MODEM_MODE_4G; /* last */ it = it << 1) { if (mode & it) { |