bt-api: Do not log the _bt_check_privilege() using macro 37/101737/1
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 30 Nov 2016 12:36:41 +0000 (18:06 +0530)
committerSyam Sidhardhan <s.syam@samsung.com>
Thu, 1 Dec 2016 07:35:36 +0000 (13:05 +0530)
commit371a6e1b060d77bba88f8e79fd2a6907510a69e3
tree8cc5af7a4a8a6f033e01d670ec3dc6ddd8d49e37
parent7a955482b91e8028924cdab80dc86d7aaaa9eb52
bt-api: Do not log the _bt_check_privilege() using macro

Here we are replacing the _bt_send_request() macro with the
direct function call inorder to not print the _bt_check_privilege()
method call. This helps us in reducing the prints and also if there
is any error the caller is always printing the details.

-       result = _bt_send_request(service_type, service_function,
+       result = _bt_sync_send_request(service_type, service_function

Change-Id: Ibe5b1d3acb4eff978b93ff4fdecb4ad2806b330a
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
bt-api/bt-common.c