From 13347da3d9298286696abdf8ddd0e8a8fc766b7a Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Wed, 9 Oct 2019 17:56:08 +0530 Subject: [PATCH] Remove DEPRECATED connection_set_ethernet_cable_state_chaged_cb() call 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 --- test/connection_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/connection_test.c b/test/connection_test.c index 80d4c96..5ea1d4e 100755 --- a/test/connection_test.c +++ b/test/connection_test.c @@ -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)); -- 2.7.4