summaryrefslogtreecommitdiff
path: root/profiles/network
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2014-03-24 16:25:22 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-03-24 21:59:28 +0200
commit2c34d92207b840bde6818733df33434fc9ae1944 (patch)
tree17760b5e2188a1c30e29b78c101b33252dcf0995 /profiles/network
parent6b7df0c11710e7a0848d9818a62eb1f720d9bdf1 (diff)
downloadbluez-2c34d92207b840bde6818733df33434fc9ae1944.tar.gz
Replace bt_get_be16() by get_be16()
Diffstat (limited to 'profiles/network')
-rw-r--r--profiles/network/bnep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index b93027a3c..8c95406d3 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -43,6 +43,7 @@
#include <glib.h>
#include "src/log.h"
+#include "src/shared/util.h"
#include "lib/uuid.h"
#include "btio/btio.h"
@@ -634,8 +635,8 @@ uint16_t bnep_setup_decode(struct bnep_setup_conn_req *req, uint16_t *dst,
switch (req->uuid_size) {
case 2: /* UUID16 */
- *dst = bt_get_be16(dest);
- *src = bt_get_be16(source);
+ *dst = get_be16(dest);
+ *src = get_be16(source);
break;
case 16: /* UUID128 */
/* Check that the bytes in the UUID, except the service ID