projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Calls sd_notify(STOPPING=1) to ensure systemd's operation
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-api
/
bt-hdp.c
diff --git
a/bt-api/bt-hdp.c
b/bt-api/bt-hdp.c
index
d85212f
..
f8f0fad
100755
(executable)
--- a/
bt-api/bt-hdp.c
+++ b/
bt-api/bt-hdp.c
@@
-199,7
+199,7
@@
static gboolean __bt_hdp_internal_data_received(GIOChannel *gio,
return FALSE;
}
return FALSE;
}
- BT_DBG("fd: %d, len: %d, buffer: %s", fd, len, buff);
+ BT_DBG("fd: %d, len: %
z
d, buffer: %s", fd, len, buff);
user_info = _bt_get_user_data(BT_COMMON);
if (user_info->cb) {
user_info = _bt_get_user_data(BT_COMMON);
if (user_info->cb) {
@@
-412,7
+412,7
@@
BT_EXPORT_API int bluetooth_hdp_send_data(unsigned int channel_id,
switch (privilege_token) {
case 0:
switch (privilege_token) {
case 0:
- result = _bt_check_privilege(BT_
BLUEZ_SERVIC
E, BT_HDP_SEND_DATA);
+ result = _bt_check_privilege(BT_
CHECK_PRIVILEG
E, BT_HDP_SEND_DATA);
if (result == BLUETOOTH_ERROR_NONE) {
privilege_token = 1; /* Have a permission */
if (result == BLUETOOTH_ERROR_NONE) {
privilege_token = 1; /* Have a permission */