diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2014-03-14 10:13:02 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-14 15:29:35 +0200 |
commit | 7899d71215470c67e0035bc292c21d847e2a9be7 (patch) | |
tree | 40098d48d82429ec546d62ce3490137b0bf80134 /src/eir.c | |
parent | 68959ca0d3c664693737a2c48be70c63c5591a13 (diff) | |
download | bluez-7899d71215470c67e0035bc292c21d847e2a9be7.tar.gz |
Replace bt_put_le16() by put_le16()
Diffstat (limited to 'src/eir.c')
-rw-r--r-- | src/eir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |