bt-api: Do not log the _bt_check_privilege() using macro 72/102472/1
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 30 Nov 2016 12:36:41 +0000 (18:06 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 6 Dec 2016 02:21:29 +0000 (11:21 +0900)
commitf4374f9c0bfae57259ed8a27bf60cf80280c3fb2
tree24a2366ddbeb501770c107a5747e46261e2bf880
parentc8a1ba96bfc18c88672d4711a03894d7d563bd59
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