if (device == NULL)
return;
- connman_device_set_mode(device, CONNMAN_DEVICE_MODE_NETWORK_SINGLE);
-
connman_device_register(device);
connman_device_unref(device);
}
if (hh2serial_device == NULL)
return -ENODEV;
- connman_device_set_mode(hh2serial_device,
- CONNMAN_DEVICE_MODE_NETWORK_SINGLE);
connman_device_register(hh2serial_device);
return 0;
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);