Remove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call 93/215493/1
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 9 Oct 2019 12:26:08 +0000 (17:56 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Wed, 9 Oct 2019 12:26:08 +0000 (17:56 +0530)
connection_set_ethernet_cable_state_chaged_cb() is deprecated and will be removed from next release.
Using connection_set_ethernet_cable_state_changed_cb() instead

Change-Id: Iae867e17dd1feb2389877d16ce2aabf2afbdcd45
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
test/connection_test.c

index 80d4c96..5ea1d4e 100755 (executable)
@@ -1032,7 +1032,7 @@ int test_register_client(void)
                connection_set_type_changed_cb(connection, test_type_changed_callback, NULL);
                connection_set_ip_address_changed_cb(connection, test_ip_changed_callback, NULL);
                connection_set_proxy_address_changed_cb(connection, test_proxy_changed_callback, NULL);
-               connection_set_ethernet_cable_state_chaged_cb(connection,
+               connection_set_ethernet_cable_state_changed_cb(connection,
                                        test_get_ethernet_cable_state_callback, NULL);
        } else {
                printf("Client registration failed [%s]\n", test_print_error(err));
@@ -1088,7 +1088,7 @@ int test_register_client_cs(void)
                connection_set_type_changed_cb(connection, test_type_changed_callback, NULL);
                connection_set_ip_address_changed_cb(connection, test_ip_changed_callback, NULL);
                connection_set_proxy_address_changed_cb(connection, test_proxy_changed_callback, NULL);
-               connection_set_ethernet_cable_state_chaged_cb(connection,
+               connection_set_ethernet_cable_state_changed_cb(connection,
                                        test_get_ethernet_cable_state_callback, NULL);
        } else {
                printf("Client registration failed [%s]\n", test_print_error(err));