summaryrefslogtreecommitdiff
path: root/src/eir.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 /src/eir.c
parent68959ca0d3c664693737a2c48be70c63c5591a13 (diff)
downloadbluez-7899d71215470c67e0035bc292c21d847e2a9be7.tar.gz
Replace bt_put_le16() by put_le16()
Diffstat (limited to 'src/eir.c')
-rw-r--r--src/eir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eir.c b/src/eir.c
index cc1c5dd3e..be837181f 100644
--- a/src/eir.c
+++ b/src/eir.c
@@ -37,6 +37,7 @@
#include <bluetooth/hci.h>
#include <bluetooth/sdp.h>
+#include "src/shared/util.h"
#include "uuid-helper.h"
#include "eir.h"
@@ -473,7 +474,7 @@ int eir_create_oob(const bdaddr_t *addr, const char *name, uint32_t cod,
eir_total_len += eir_optional_len;
/* store total length */
- bt_put_le16(eir_total_len, data);
+ put_le16(eir_total_len, data);
return eir_total_len;
}