summaryrefslogtreecommitdiff
path: root/tools/scotest.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 /tools/scotest.c
parent68959ca0d3c664693737a2c48be70c63c5591a13 (diff)
downloadbluez-7899d71215470c67e0035bc292c21d847e2a9be7.tar.gz
Replace bt_put_le16() by put_le16()
Diffstat (limited to 'tools/scotest.c')
-rw-r--r--tools/scotest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scotest.c b/tools/scotest.c
index 227287d25..13b9602e6 100644
--- a/tools/scotest.c
+++ b/tools/scotest.c
@@ -40,6 +40,8 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/sco.h>
+#include "src/shared/util.h"
+
/* Test modes */
enum {
SEND,
@@ -346,7 +348,7 @@ static void send_mode(char *svr)
seq = 0;
while (1) {
bt_put_le32(seq, buf);
- bt_put_le16(data_size, buf + 4);
+ put_le16(data_size, buf + 4);
seq++;