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 6b7d03f..a3aed22 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 245d1aa..911fa35 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 0ee6580..98be6b3 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);