- if (!system_info_get_platform_bool(ETHERNET_FEATURE, ðernet_feature_supported)) {
- if (ethernet_feature_supported == TRUE) {
- //Register the callback to check the ethernet Plug-in /Plug-out Status
- check_ethernet_monitor_timer = g_timeout_add(ETH_POLLING_TIME,
- __net_ethernet_cable_status_polling_callback,
- &check_ethernet_monitor_timer);
- }
- } else {
- ERR("Error - Feature getting from System Info");
+ if (netconfig_check_feature_supported(NETCONFIG_SUPPORTED_FEATURE_ETHERNET)) {
+ /* Register the callback to check the ethernet Plug-in /Plug-out Status */
+ check_ethernet_monitor_timer = g_timeout_add(ETH_POLLING_TIME,
+ __net_ethernet_cable_status_polling_callback,
+ &check_ethernet_monitor_timer);