diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-08-16 18:31:22 +0900 |
---|---|---|
committer | Saurav Babu <saurav.babu@samsung.com> | 2016-08-16 21:15:46 -0700 |
commit | 2ebf3447b1ea508ee2094b540c6f7d0d2ad1a29f (patch) | |
tree | fdc1475766dfb088f8f36f7f2983e0ee69f87c77 | |
parent | d333d3fff20e65bf0dfb3813e81e1974d842b9c8 (diff) | |
download | wifi-2ebf3447b1ea508ee2094b540c6f7d0d2ad1a29f.tar.gz wifi-2ebf3447b1ea508ee2094b540c6f7d0d2ad1a29f.tar.bz2 wifi-2ebf3447b1ea508ee2094b540c6f7d0d2ad1a29f.zip |
Fix coding stylesubmit/tizen/20160818.002458accepted/tizen/wearable/20160818.231547accepted/tizen/tv/20160818.231607accepted/tizen/mobile/20160818.231558accepted/tizen/ivi/20160818.231615accepted/tizen/common/20160818.144041
Change-Id: I53120388d72f77955835dc6dbeed6d021ee78793
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-x | packaging/capi-network-wifi.spec | 2 | ||||
-rwxr-xr-x | test/wifi_test.c | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/packaging/capi-network-wifi.spec b/packaging/capi-network-wifi.spec index dd9821d..7d58af6 100755 --- a/packaging/capi-network-wifi.spec +++ b/packaging/capi-network-wifi.spec @@ -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 diff --git a/test/wifi_test.c b/test/wifi_test.c index a809dfe..c538d0d 100755 --- a/test/wifi_test.c +++ b/test/wifi_test.c @@ -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); } |