summaryrefslogtreecommitdiff
path: root/android/hidhost.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2014-03-14 10:13:02 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-03-14 15:29:35 +0200
commit7899d71215470c67e0035bc292c21d847e2a9be7 (patch)
tree40098d48d82429ec546d62ce3490137b0bf80134 /android/hidhost.c
parent68959ca0d3c664693737a2c48be70c63c5591a13 (diff)
downloadbluez-7899d71215470c67e0035bc292c21d847e2a9be7.tar.gz
Replace bt_put_le16() by put_le16()
Diffstat (limited to 'android/hidhost.c')
-rw-r--r--android/hidhost.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/hidhost.c b/android/hidhost.c
index 4226f6940..81e7eb828 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -38,6 +38,7 @@
#include "lib/sdp.h"
#include "lib/sdp_lib.h"
#include "src/shared/mgmt.h"
+#include "src/shared/util.h"
#include "src/sdp-client.h"
#include "src/uuid-helper.h"
#include "profiles/input/uhid_copy.h"
@@ -1066,7 +1067,7 @@ static void bt_hid_get_report(const void *buf, uint16_t len)
if (cmd->buf_size > 0) {
req[0] = req[0] | HID_GET_REPORT_SIZE_FIELD;
- bt_put_le16(cmd->buf_size, &req[2]);
+ put_le16(cmd->buf_size, &req[2]);
}
fd = g_io_channel_unix_get_fd(dev->ctrl_io);