bt-api: Fix incorrect macro expansion for service function 36/101736/1
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 30 Nov 2016 12:35:00 +0000 (18:05 +0530)
committerSyam Sidhardhan <s.syam@samsung.com>
Thu, 1 Dec 2016 07:35:31 +0000 (13:05 +0530)
commit7a955482b91e8028924cdab80dc86d7aaaa9eb52
tree5c6c7c26658dd20aadb40f6c145d959da4d308a9
parentead1b7b958e6ac8c937eb2c9ad33a5d2518094ba
bt-api: Fix incorrect macro expansion for service function

The _bt_send_request() and _bt_send_request_async() macros are
designed in such a way that we should always pass a "#define value"
or "enum type" as the first two params. Otherwise it will just print
the variable name.

Change-Id: I137c59a780ffd0000cd79dbafe0379389405d5ce
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
bt-api/bt-audio.c
bt-api/bt-obex-server.c
bt-api/bt-rfcomm-client.c
bt-api/include/bt-request-sender.h