diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2014-03-20 11:42:36 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-21 10:39:56 +0200 |
commit | a646737b7efa9a255f3783f1662e4a7eb99897f1 (patch) | |
tree | d976a8abec03eea3d98c83320ed1063fc2a18d2f /tools/hciconfig.c | |
parent | 2d557547afd473ac446247d9a6ccc2bb870d50cb (diff) | |
download | bluez-a646737b7efa9a255f3783f1662e4a7eb99897f1.tar.gz |
Replace bt_get_le16() by get_le16()
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r-- | tools/hciconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 548e5721e..765d98007 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -44,6 +44,7 @@ #include <bluetooth/hci_lib.h> #include "src/textfile.h" +#include "src/shared/util.h" #include "tools/csr.h" static struct hci_dev_info di; @@ -1316,7 +1317,7 @@ static void cmd_inq_data(int ctl, int hdev, char *opt) printf("\t%s service classes:", type == 0x02 ? "Shortened" : "Complete"); for (i = 0; i < (len - 1) / 2; i++) { - uint16_t val = bt_get_le16((ptr + (i * 2))); + uint16_t val = get_le16((ptr + (i * 2))); printf(" 0x%4.4x", val); } printf("\n"); |