Fix fallout within plugins
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 4 Nov 2010 22:22:21 +0000 (23:22 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 4 Nov 2010 22:22:21 +0000 (23:22 +0100)
plugins/fake.c
plugins/hh2serial-gps.c
plugins/iwmx.c

index 6b7d03fa4874f58d2aa3cb1e42ee52644024c51d..a3aed229ec3fb13666786158e070dd3d6ec86d07 100644 (file)
@@ -88,8 +88,6 @@ static void create_device(const char *name)
        if (device == NULL)
                return;
 
-       connman_device_set_mode(device, CONNMAN_DEVICE_MODE_NETWORK_SINGLE);
-
        connman_device_register(device);
        connman_device_unref(device);
 }
index 245d1aada57d9a38151d7484019449129543dde8..911fa35b7f87ad6beb77c726344f6aa711011774 100644 (file)
@@ -95,8 +95,6 @@ static int hh2serial_init(void)
        if (hh2serial_device == NULL)
                return -ENODEV;
 
-       connman_device_set_mode(hh2serial_device,
-                                       CONNMAN_DEVICE_MODE_NETWORK_SINGLE);
        connman_device_register(hh2serial_device);
 
        return 0;
index 0ee6580f5a1568e230fc2bff7518a3682a34bd07..98be6b37f55b57c8ad361bc182088ed3f2ebf3fd 100644 (file)
@@ -134,7 +134,6 @@ struct connman_network *__iwmx_cm_network_available(
                nw = connman_network_create(station_name,
                                            CONNMAN_NETWORK_TYPE_WIMAX);
                connman_network_set_index(nw, connman_device_get_index(dev));
-               connman_network_set_protocol(nw, CONNMAN_NETWORK_PROTOCOL_IP);
                connman_network_set_name(nw, station_name);
                connman_network_set_blob(nw, "WiMAX.NSP.name",
                                         sdk_nspname, sdk_nspname_size);