From: Daniel Wagner Date: Thu, 22 Sep 2011 14:59:55 +0000 (+0200) Subject: Use 'cellular' instead of '3g' as bearer name X-Git-Tag: 0.78~187 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1054d95ee6860ee84db01550c35e8c82f80585d;p=platform%2Fupstream%2Fconnman.git Use 'cellular' instead of '3g' as bearer name Fixes BMC#23324 --- diff --git a/src/session.c b/src/session.c index 56682cf..88998f6 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) {