__connection_state_changed_cb, __security_type_changed_cb,
__ssid_visibility_changed_cb, __passphrase_changed_cb};
- if (__is_err(ret) == false) __register_cbs(th, &cbs, NULL);
- else {
+ if (__is_err(ret) == false) {
+ __register_cbs(th, &cbs, NULL);
+ } else {
printf("Tethering create is failed\n");
return -1;
}
ret = tethering_create(&th5);
- if (__is_err(ret) == false) __register_cbs(th5, &cbs, NULL);
- else {
+ if (__is_err(ret) == false) {
+ __register_cbs(th5, &cbs, NULL);
+ } else {
printf("Tethering create is failed\n");
return -1;
}