Enable auto-connect support for cellular devices
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Sep 2009 21:21:41 +0000 (14:21 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Sep 2009 21:21:41 +0000 (14:21 -0700)
src/service.c

index a9a534a..8367058 100644 (file)
@@ -2176,10 +2176,10 @@ struct connman_service *__connman_service_create_from_network(struct connman_net
        case CONNMAN_SERVICE_TYPE_ETHERNET:
        case CONNMAN_SERVICE_TYPE_WIMAX:
        case CONNMAN_SERVICE_TYPE_BLUETOOTH:
-       case CONNMAN_SERVICE_TYPE_CELLULAR:
                service->autoconnect = FALSE;
                break;
        case CONNMAN_SERVICE_TYPE_WIFI:
+       case CONNMAN_SERVICE_TYPE_CELLULAR:
                service->autoconnect = TRUE;
                break;
        }