/*
- * Bluetooth-frwk
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hocheol Seo <hocheol.seo@samsung.com>
- * Girishashok Joshi <girish.joshi@samsung.com>
- * Chanyeol Park <chanyeol.park@samsung.com>
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
static char is_pbap_initialized = FALSE;
#define BT_CHECK_PBAP_INITIALIZED(func) \
- if (is_pbap_initialized == FALSE) \
- { \
+ if (is_pbap_initialized == FALSE) { \
BT_ERR("BT PBAP Client is not initiatized"); \
func BLUETOOTH_ERROR_NOT_INITIALIZED; \
} \
bt_user_info_t *user_info;
int ret;
- BT_CHECK_ENABLED(return);
if (is_pbap_initialized)
return BLUETOOTH_ERROR_ALREADY_INITIALIZED;
BT_EXPORT_API int bluetooth_pbap_deinit(void)
{
int ret;
- BT_CHECK_ENABLED(return);
+
BT_CHECK_PBAP_INITIALIZED(return);
ret = _bt_unregister_event(BT_PBAP_CLIENT_EVENT);