DBG("type %d index %d", type, index);
- devtype = __connman_inet_get_device_type(index);
+ devtype = __connman_rtnl_get_device_type(index);
switch (devtype) {
case CONNMAN_DEVICE_TYPE_UNKNOWN:
return;
case CONNMAN_DEVICE_TYPE_ETHERNET:
case CONNMAN_DEVICE_TYPE_WIFI:
+ case CONNMAN_DEVICE_TYPE_GADGET:
break;
}
.dellink = detect_dellink,
};
-connman_bool_t __connman_detect_get_blocked(int phyindex)
-{
- return FALSE;
-}
-
int __connman_detect_init(void)
{
DBG("");
return connman_rtnl_register(&detect_rtnl);
}
-void __connman_detect_start(void)
-{
- DBG("");
-}
-
void __connman_detect_cleanup(void)
{
GSList *list;