Fix coding style 49/84049/3 accepted/tizen/common/20160818.144041 accepted/tizen/ivi/20160818.231615 accepted/tizen/mobile/20160818.231558 accepted/tizen/tv/20160818.231607 accepted/tizen/wearable/20160818.231547 submit/tizen/20160818.002458
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 16 Aug 2016 09:31:22 +0000 (18:31 +0900)
committerSaurav Babu <saurav.babu@samsung.com>
Wed, 17 Aug 2016 04:15:46 +0000 (21:15 -0700)
Change-Id: I53120388d72f77955835dc6dbeed6d021ee78793
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/capi-network-wifi.spec
test/wifi_test.c

index dd9821d186318631f7cbd9fcc7ce89b7e254946a..7d58af628c96d03bbb0f84034b6f71eb463218c0 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          capi-network-wifi
 Summary:       Network Wi-Fi library in TIZEN C API
-Version:       1.0.78
+Version:       1.0.79
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index a809dfe87c0b89afc504f9acd9069512d5aa6ec2..c538d0d49be8096003bedfac4518dac03e4819ba 100755 (executable)
@@ -1084,15 +1084,14 @@ int test_wifi_activate(void)
 
        rv = wifi_is_activated(&state);
 
-       if(state != true) {
+       if (state != true) {
                rv = wifi_activate(__test_activated_callback, NULL);
 
                if (rv != WIFI_ERROR_NONE) {
                        printf("Fail to activate Wi-Fi device [%s]", __test_convert_error_to_string(rv));
                        return -1;
                }
-       }
-       else {
+       } else {
                __test_activated_callback(WIFI_ERROR_NONE, NULL);
        }
 
@@ -1106,15 +1105,14 @@ int test_wifi_deactivate(void)
 
        rv = wifi_is_activated(&state);
 
-       if(state == true) {
+       if (state == true) {
                rv = wifi_deactivate(__test_deactivated_callback, NULL);
 
                if (rv != WIFI_ERROR_NONE) {
                        printf("Fail to deactivate Wi-Fi device [%s]\n", __test_convert_error_to_string(rv));
                        return -1;
                }
-       }
-       else {
+       } else {
                __test_deactivated_callback(WIFI_ERROR_NONE, NULL);
        }