summaryrefslogtreecommitdiff
path: root/profiles/sap
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/sap
parent6b7df0c11710e7a0848d9818a62eb1f720d9bdf1 (diff)
downloadbluez-2c34d92207b840bde6818733df33434fc9ae1944.tar.gz
Replace bt_get_be16() by get_be16()
Diffstat (limited to 'profiles/sap')
-rw-r--r--profiles/sap/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index 711853f4e..6b27cfa36 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -40,6 +40,7 @@
#include "src/log.h"
#include "src/error.h"
#include "src/dbus-common.h"
+#include "src/shared/util.h"
#include "sap.h"
#include "server.h"
@@ -312,7 +313,7 @@ static void connect_req(struct sap_server *server,
stop_guard_timer(server);
- maxmsgsize = bt_get_be16(&param->val);
+ maxmsgsize = get_be16(&param->val);
DBG("Connect MaxMsgSize: 0x%04x", maxmsgsize);