diff options
author | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-04-29 13:44:21 +0000 |
---|---|---|
committer | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-04-29 13:44:21 +0000 |
commit | 05302369d81c96d475b50d1feb002cd9a25804cf (patch) | |
tree | 7970bac6f75d418207cf8cdd2acc10a871611675 /audio | |
parent | 87419d4f0e86f4ed66831bfeab77dde1f829455a (diff) |
Fixed psm endianness for l2cap connection
Diffstat (limited to 'audio')
-rw-r--r-- | audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index 3bab1e33..ec2a8c12 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1589,7 +1589,7 @@ static int l2cap_connect(struct avdtp *session) { int err; - err = bt_l2cap_connect(&session->src, &session->dst, htobs(AVDTP_PSM), + err = bt_l2cap_connect(&session->src, &session->dst, AVDTP_PSM, l2cap_connect_cb, session); if (err < 0) { error("Connect failed. %s(%d)", strerror(-err), -err); |