diff options
author | taesubkim <taesub.kim@samsung.com> | 2016-04-26 11:33:44 +0900 |
---|---|---|
committer | taesubkim <taesub.kim@samsung.com> | 2016-04-26 11:33:53 +0900 |
commit | 4614cf7f3da9ce18d470c6301c86da7ef529aefc (patch) | |
tree | 60302fd79e0089197cd7dec291acb8b009b353e6 | |
parent | 60effa5bedd4449b1d424b9d675e476849a8e31b (diff) | |
download | wifi-4614cf7f3da9ce18d470c6301c86da7ef529aefc.tar.gz wifi-4614cf7f3da9ce18d470c6301c86da7ef529aefc.tar.bz2 wifi-4614cf7f3da9ce18d470c6301c86da7ef529aefc.zip |
[160425] Apply Tizen coding rulessubmit/tizen/20160426.023658accepted/tizen/wearable/20160426.102556accepted/tizen/tv/20160426.102427accepted/tizen/mobile/20160426.102434accepted/tizen/ivi/20160426.102543accepted/tizen/common/20160426.143320
Change-Id: I1eea4928363e6e20f17869b8c10109f2b3efa451
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
-rwxr-xr-x | packaging/capi-network-wifi.spec | 2 | ||||
-rwxr-xr-x | test/wifi_test.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/capi-network-wifi.spec b/packaging/capi-network-wifi.spec index 0b3d734..e7f0de0 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.72 +Version: 1.0.73 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/test/wifi_test.c b/test/wifi_test.c index 2b420dc..5cb3b98 100755 --- a/test/wifi_test.c +++ b/test/wifi_test.c @@ -910,7 +910,7 @@ static bool _test_config_list_cb(const wifi_config_h config, void *user_data) return true; } -struct _wifi_conf{ +struct _wifi_conf { char name[33]; int type; }; @@ -924,7 +924,7 @@ static bool _test_config_list_cb_for_remove(const wifi_config_h config, void *us wifi_config_get_name(config, &name); wifi_config_get_security_type(config, &security_type); - if(strncmp(name, c->name, sizeof(c->name)) == 0 && security_type == c->type) { + if (strncmp(name, c->name, sizeof(c->name)) == 0 && security_type == c->type) { int rv = wifi_config_remove(config); if (rv != WIFI_ERROR_NONE) printf("Fail to remove configurations [%s]\n", __test_convert_error_to_string(rv)); |