summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-09-22 16:59:55 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-09-22 18:33:40 +0200
commitf1054d95ee6860ee84db01550c35e8c82f80585d (patch)
treed9498b701406e57f4a329f6429bc784f2a180c4b /src/session.c
parentfa2188d64d5a133f46cca6deefb8f32687fd8ae9 (diff)
downloadconnman-f1054d95ee6860ee84db01550c35e8c82f80585d.tar.gz
connman-f1054d95ee6860ee84db01550c35e8c82f80585d.tar.bz2
connman-f1054d95ee6860ee84db01550c35e8c82f80585d.zip
Use 'cellular' instead of '3g' as bearer name
Fixes BMC#23324
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.c b/src/session.c
index 56682cfd..88998f6c 100644
--- a/src/session.c
+++ b/src/session.c
@@ -198,7 +198,7 @@ static enum connman_service_type bearer2service(const char *bearer)
return CONNMAN_SERVICE_TYPE_WIMAX;
else if (g_strcmp0(bearer, "bluetooth") == 0)
return CONNMAN_SERVICE_TYPE_BLUETOOTH;
- else if (g_strcmp0(bearer, "3g") == 0)
+ else if (g_strcmp0(bearer, "cellular") == 0)
return CONNMAN_SERVICE_TYPE_CELLULAR;
else if (g_strcmp0(bearer, "vpn") == 0)
return CONNMAN_SERVICE_TYPE_VPN;
@@ -218,7 +218,7 @@ static char *service2bearer(enum connman_service_type type)
case CONNMAN_SERVICE_TYPE_BLUETOOTH:
return "bluetooth";
case CONNMAN_SERVICE_TYPE_CELLULAR:
- return "3g";
+ return "cellular";
case CONNMAN_SERVICE_TYPE_VPN:
return "vpn";
case CONNMAN_SERVICE_TYPE_UNKNOWN:
@@ -568,7 +568,7 @@ static int service_type_weight(enum connman_service_type type)
* 1. Ethernet
* 2. Bluetooth
* 3. WiFi/WiMAX
- * 4. GSM/UTMS/3G
+ * 4. Cellular
*/
switch (type) {