Update AP info on changing IP Method Type 51/94051/1 accepted/tizen/common/20161102.121512 accepted/tizen/ivi/20161102.072333 accepted/tizen/mobile/20161102.072234 accepted/tizen/tv/20161102.072252 accepted/tizen/wearable/20161102.072307 submit/tizen/20161101.065543
authorSaurav Babu <saurav.babu@samsung.com>
Thu, 27 Oct 2016 04:20:01 +0000 (09:50 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Thu, 27 Oct 2016 04:20:01 +0000 (09:50 +0530)
Wi-Fi manager package added CAPI wifi_manager_update_ap() to update AP
info when IP Method type is changed. This CAPI must be called to update
AP info properly

Change-Id: I995b94a8bb88ae43a69db90be238334f244e2e73
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
test/wifi_manager_test.c

index 262e6a7..a4bab14 100755 (executable)
@@ -638,6 +638,11 @@ static bool __test_found_change_ip_method_callback(wifi_manager_ap_h ap, void *u
                        }
                }
 
+               rv = wifi_manager_update_ap(wifi, ap);
+               if (rv != WIFI_MANAGER_ERROR_NONE)
+                       printf("Fail to update ap info[%s]\n",
+                                       __test_convert_error_to_string(rv));
+
                g_free(ap_name);
                return false;
        }