diff options
-rw-r--r-- | plugins/fake.c | 2 | ||||
-rw-r--r-- | plugins/hh2serial-gps.c | 2 | ||||
-rw-r--r-- | plugins/iwmx.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/plugins/fake.c b/plugins/fake.c index 6b7d03fa..a3aed229 100644 --- a/plugins/fake.c +++ b/plugins/fake.c @@ -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); } diff --git a/plugins/hh2serial-gps.c b/plugins/hh2serial-gps.c index 245d1aad..911fa35b 100644 --- a/plugins/hh2serial-gps.c +++ b/plugins/hh2serial-gps.c @@ -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; diff --git a/plugins/iwmx.c b/plugins/iwmx.c index 0ee6580f..98be6b37 100644 --- a/plugins/iwmx.c +++ b/plugins/iwmx.c @@ -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); |